CursorColumn (Screen property)

From m204wiki
Revision as of 22:34, 16 November 2012 by JAL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Return the column number of the cursor position (Screen class)

The CursorColumn 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

%currentNumber A numeric variable to receive the current cursor column number.
screen A reference to an instance of a Screen object.
newNumber A numeric variable or expression setting the new column at which the cursor will be positioned.

Usage notes

  • Although you can set an absolute position for the cursor using CursorColumn and CursorRow, it is generally more useful to use the SetCursor subroutine to move the cursor to a particular field, independent of its absolute location on the screen.

See also