InfoConnect for Airlines VBA Guide
MoveCursor Function
The number of rows to move the cursor. The minimum and maximum values vary according to the number of rows supported by the terminal model InfoConnect is emulating.
The number of columns to move the cursor. The minimum and maximum values vary according to the number of columns supported by the terminal model InfoConnect is emulating.
Moves the cursor forward or back.
Syntax
object.MoveCursor( _
   ByVal rows As Long, _
   ByVal columns As Long _
) As ReturnCode

Parameters

rows
The number of rows to move the cursor. The minimum and maximum values vary according to the number of rows supported by the terminal model InfoConnect is emulating.
columns
The number of columns to move the cursor. The minimum and maximum values vary according to the number of columns supported by the terminal model InfoConnect is emulating.

Return Value

ReturnCode indicates success, failure, or an error if the cursor position reaches the screen boundary.
Remarks

Use the CursorRow and CursorColumn properties to verify the cursor location.

Both "rows" and "columns" arguments can be either 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 row and column dimension. 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 MoveCursorTo1 Function or the MoveCursorTo2 Method.

See Also