ui.Dialog.setSelectionMode()

The SetSelectionMode() method is used to enable or disable multi-row selection. The method needs two arguments:

 

CALL Dialog.SetSelectionMode ("screen_array", mode)

 

The screen_array argument specifies the screen array to which the method will be applied.

 

The mode argument takes an integer value specifying the selection mode. 0 stands for single row selection, 1 stands for multi-row selection.  To select a continuous set of rows, select the first row of the set, hold SHIFT and select the last row of the set.

 

To select separate rows, hold CTRL while selecting each new row.

 

You can switch between the selection modes dynamically throughout the dialog execution. When the multi-row selection mode is off, the currently selected rows, if any, are marked as unselected.