Attachmate.Reflection.Emulation.IbmHosts Assembly > Attachmate.Reflection.Emulation.IbmHosts Namespace > IIbmScreen Interface : MoveCursor Method |
'Declaration
Function MoveCursor( _ ByVal rows As Integer, _ ByVal columns As Integer _ ) As ReturnCode
'Usage
Dim instance As IIbmScreen Dim rows As Integer Dim columns As Integer Dim value As ReturnCode value = instance.MoveCursor(rows, columns)
ReturnCode MoveCursor( int rows, int columns )
Use the CursorRow and CursorColumn properties to verify the cursor location.
Both "rows" and "columns" arguments can be positive or negative numbers. Negative numbers move the cursor back toward smaller rows and columns. The resulting row and column position is bound by the screen's dimensions. Rows and columns do not wrap when they reach the maximum or minimum row or column values.
To move the cursor to a specific location, use the MoveCursorTo Method.