SocketTools .NET Edition

Terminal.CursorY Property

Gets and sets the current cursor position in the display.

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

Property Value

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

See Also

Terminal Class | SocketTools Namespace