CursorColumn (Screen property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{Template:Screen:CursorColumn subtitle}}
This property either gets the column number where the cursor is currently positioned, or it sets the column number for the cursor position.
This property either gets the column number where the cursor is currently positioned, or it sets the column number for the cursor position.


Line 15: Line 17:


Although you can set an absolute position for the cursor using CursorColumn and CursorRow, it is generally more useful to use the ScreenField SetCursor function to move the cursor to a particular field, independent of its absolute location on the screen.
Although you can set an absolute position for the cursor using CursorColumn and CursorRow, it is generally more useful to use the ScreenField SetCursor function to move the cursor to a particular field, independent of its absolute location on the screen.
==See also==
{{Template:Screen:CursorColumn footer}}

Revision as of 16:58, 16 February 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.

  %screen:cursorColumn = %num
  %num = %screen:cursorColumn
CursorColumn syntax
%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 function to move the cursor to a particular field, independent of its absolute location on the screen.

See also