ui.Dialog.isRowSelected

Queries row selection for a give list and row.

Syntax

isRowSelected(
   name STRING,
   index INTEGER )
  RETURNING result BOOLEAN
  1. name is the screen array name.
  2. index is a row index.

Usage

If multi-row selection is enabled with setSelectionMode(), you can check whether a row is selected with the isRowSelected() method:
ON ACTION check_current_row_selected 
  IF DIALOG.isRowSelected( "sr", DIALOG.getCurrentRow("sr") ) THEN
    MESSAGE "Current row is selected."
  END IF

If multi-row selection is off, the method returns TRUE for the current row and FALSE for other rows.