Finding the screen cursor column and row position

Phil Dunn

New Member
I'm developing some code which defines a frame which is bigger than the screen and is scrollable (screen size 80 * 24 chars).

e.g. form ....... with frame a size 200 by 200 scrollable ....

I then create fill-in widgets on the fly in this frame. Normally there will be more fill-in's than can be displayed on my screen so the frame will allow me to scroll around to access them.

When accessing the column and row attributes of a fill-in they return the the column and row positions of the widget within the frame, NOT the physical position on the screen.

As an example, I've scrolled the screen to the right and the fill-in column attribute might return a value of 96. The fill-in is positioned to the far right of the screen, maybe starting in column 74. It is this value that I would also like to determine.

Does anyone have any ideas ?
 
Top