MoveCursor1() action

From The x3270 Wiki

New in 4.0

The MoveCursor1() action moves the terminal cursor to a specific location. It uses 1-origin coordinates.

Parameters

If two parameters are specified, they are:

row
The 1-origin row number.
column
The 1-origin column number.

If one parameter is specified, it is:

offset
An absolute cursor offset.

Examples

Move the cursor to the upper left-hand corner of the screen.

MoveCursor(1,1)

Move the cursor to the last column of the second row of the screen (on a model 2) using row and column coordinates.

MoveCursor(2,80)

Move the cursor to the last column of the second row of the screen (on a model 2) using an offset. Note that cursor offsets are always 0-origin.

MoveCursor(159)

See also

MoveCursor() action: the 0-origin version of MoveCursor1().