ui.Dialog.setSelectionMode

Defines the row selection mode for the specified list.

Syntax

setSelectionMode(
   name STRING,
   mode INTEGER )
  1. name is the screen array name.
  2. mode defines the selection mode (0, 1).

Usage

In DISPLAY ARRAY instructions, the setSelectionMode() method can be used to enable/disable multi-row selection.

Possible values of the mode parameter are 0 (single row selection) or 1 (multi-range selection). Other values are reserved for future use.

If multi-row selection is switched off, selected rows get deselected.

For more details about multi-row selection, see Multiple row selection.