CursorX Property

Gets and sets the current cursor position in the display.

Syntax

object.CursorX [= column ]

Remarks

The CursorX property returns the current position of the cursor in the display, or can be used to change the current position. The current position is given in columns and indicates where the next text character will be displayed. To calculate the pixel offset where the cursor is located in the control window, multiply this value by the CellWidth property value.

Data Type

Integer

See Also

CellWidth Property, Cursor Property, CursorStyle Property, CursorY Property, MouseX Property, MouseY Property


Copyright © 2008 Catalyst Development Corporation. All rights reserved.