CursorRow (Screen property): Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Template:Screen:CursorRow subtitle}} | |||
This property gets the row number where the cursor is currently positioned, or it sets the row number for the cursor position. | This property gets the row number where the cursor is currently positioned, or it sets the row number for the cursor position. | ||
Line 15: | Line 17: | ||
; <font size='3'>Usage Notes</font> | ; <font size='3'>Usage Notes</font> | ||
You can set an absolute position for the cursor using the CursorRow and CursorColumn properties, but it is generally more useful to use the ScreenField SetCursor function ( | You can set an absolute position for the cursor using the CursorRow and CursorColumn properties, but it is generally more useful to use the ScreenField SetCursor function (“SetCursor subroutine”, below) to move the cursor to a particular field, independent of its absolute location on the screen. | ||
==See also== | |||
{{Template:Screen:CursorRow footer}} |
Revision as of 16:58, 16 February 2011
Return the row number of the cursor position (Screen class)
This property gets the row number where the cursor is currently positioned, or it sets the row number for the cursor position.
%screen:cursorRow = %num
%num = %screen:cursorRow
- CursorRow syntax
- %num
- A numeric variable or expression for the cursor's row number.
- %screen
- A reference to an instance of a Screen object.
- Usage Notes
You can set an absolute position for the cursor using the CursorRow and CursorColumn properties, but it is generally more useful to use the ScreenField SetCursor function (“SetCursor subroutine”, below) to move the cursor to a particular field, independent of its absolute location on the screen.