Cursor

Returns the current cursor position, or sets the cursor position. For VT emulation, attempting to set the cursor position is not valid and will be ignored.


Syntax

FlexScreen.Cursor


FlexScreen.Cursor = Position


Parameters


Position

Integer, input



The position on the host screen to move the cursor, which may be a numeric value where zero is the first position on the screen, or use the FlexScreen.Position method to specify the row and column.

Examples

Sub Main()

MsgBox FlexScreen.Cursor

End Sub


Sub Main()

FlexScreen.Cursor = 745

End Sub


Sub Main()

FlexScreen.Cursor = FlexScreen.Position(10, 26)

End Sub