SocketTools .NET Edition

Terminal.CursorX Property

Gets and sets the current cursor position in the display.

[Visual Basic]
<Description(Description:="Set or return the current column in the display."), _  Browsable(Browsable:=False)>
Public Property CursorX As Integer
[C#]
[Description(Description="Set or return the current column in the display.")]
[Browsable(Browsable=False)]
public int CursorX {get; set;}

Property Value

An integer value which specifies the current cursor 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.

See Also

Terminal Class | SocketTools Namespace