CursorColumn (Screen property): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (→Usage notes) |
||
Line 14: | Line 14: | ||
==Usage notes== | ==Usage notes== | ||
Although you can set an absolute position for the cursor using CursorColumn and CursorRow, it is generally more useful to use the ScreenField SetCursor | Although you can set an absolute position for the cursor using <var>CursorColumn</var> and <var>CursorRow</var>, it is generally more useful to use the <var>ScreenField</var> <var>[[SetCursor (ScreenField subroutine)|SetCursor]]</var> subroutine to move the cursor to a particular field, independent of its absolute location on the screen. | ||
==See also== | ==See also== | ||
{{Template:Screen:CursorColumn footer}} | {{Template:Screen:CursorColumn footer}} |
Revision as of 22:25, 5 April 2011
Return the column number of the cursor position (Screen class)
This property either gets the column number where the cursor is currently positioned, or it sets the column number for the cursor position.
Syntax
%currentNumber = screen:CursorColumn screen:CursorColumn = newNumber
Syntax terms
%num | A numeric variable or expression for the column number. |
---|---|
%screen | A reference to an instance of a Screen object. |
Usage notes
Although you can set an absolute position for the cursor using CursorColumn and CursorRow, it is generally more useful to use the ScreenField SetCursor subroutine to move the cursor to a particular field, independent of its absolute location on the screen.