setCurrentRow() is used to move the cursor to the new row when INPUT ARRAY or DISPLAY ARRAY statements are executed:
CALL DIALOG.SetCurrentRow(screen_array, row_num)
Parameters
screen_array |
the name of the screen array |
row_num |
the index of the row in a program array where the cursor must be placed |
Usage and examples
This method is identical to that of the fgl_dialog_setcurrline() function.
There is some specifics about using variables with ui.Dialog methods.
You can learn about them here.
Control blocks (like AFTER ROW) are ignored when you use setCurrentRow() to move the cursor. In case when multi-selection is enabled, all the selected rows become inactive and the newly specified row is selected.