![]() ![]() |
Reference Type: Supported, Category: XGF Function Library, ICR#: 3173
The IOXY^XGF API positions the cursor on the screen at a screen coordinate. This API is similar to Kernel's X IOXY function:
A call to the PREP^XGF(): Screen/Keyboard Setup API
must be made at some point prior to calling IOXY^XGF.
You can specify row and column parameters relative to the
current $X and $Y by specifying + or - to increment or
decrement $X or $Y by 1. You can increment or decrement by more than one if you
add a number as well, such as "-5" or "+10".
NOTE: You must use quotes to pass a "+" or "-". Otherwise, to specify exact locations for row and column, pass numbers.
IOXY^XGF(row,col)
row: |
(required) Row position to which the cursor is moved. |
col: |
(required) Column position to which the cursor is moved. |
$X and $Y: |
Set to the row and column specified as parameters. |
NOTE: See also: SAY^XGF():Screen String and SAYU^XGF(): Screen String with Attributes APIs.
For example, to position the cursor at row 12, column 39, do the following:
>D IOXY^XGF(12,39) |