SCREEN HOME_CURSOR moves the cursor to a specified corner of a window. There is no need to know the dimensions of the window.
SCREEN HOME_CURSOR /USING/ window_id, position
window_id |
is an integer system field, Global Storage (GS) field, or user-defined field that contains the window ID assigned to the window. |
position |
specifies the position to which the cursor moves. The valid codes for position are:
|
SCREEN HOME_CURSOR USING MAIN_ID,@UPPER_LEFT
This example moves the cursor to the upper left corner of the MAIN_ID window.