The Dialog class / ui.Dialog methods |
Defines the row selection mode for the specified list.
setSelectionMode( name STRING, mode INTEGER )
In DISPLAY ARRAY instructions, the setSelectionMode() method can be used to enable multi-row selection. This feature is available in singular and sub-dialog DISPLAY ARRAY instructions.
ON ACTION mrs_on CALL DIALOG.setSelectionMode( "sr", 1 )
Possible values of the second parameter are 0 (single row selection) or 1 (multi-range selection). Other values are reserved for future use.
Multi-row selection can be enabled and disabled during the dialog execution. If multi-row selection is switched off, selected rows get deselected.
For more details about multi-row selection, see Multiple dialogs.