CursorY Property  
 

Gets and sets the current cursor position in the display.

Syntax

object.CursorY [= row ]

Remarks

The CursorY 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 rows 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 CellHeight property value.

Data Type

Integer (Int32)

See Also

CellHeight Property, Cursor Property, CursorStyle Property, CursorX Property