SETCURSORTOROW Function

RAMP-TS

SETCURSORTOROW Function

Moves the cursor to the specified row and column on the screen.

This function is intended to programmatically manipulate the coordinates (5250 row and column) of the underpinning 5250 screen cursor - rather than anything visual on the currently displayed web page. Typically a call to this function is immediately followed by a SENDKEY function call.   

 

Syntax

SETCURSORTOROW(iRow, iColumn) 

 

Parameters

iRow

Required. Integer for the row on the screen. Starts at the top with row 1.

iColumn

Optional. Integer, for the column on the screen. Must be greater than zero. Defaults to 1.

 

 

Return Value

None

Remarks

The cursor can be set to anywhere on the screen.

Example

 

Set the cursor to the 9th row down, 43rd column across

 

SETCURSORTOROW( 9 , 43);