ui.Dialog.isRowSelected
Queries row selection for a given list and row.
Syntax
isRowSelected(
name STRING,
row INTEGER )
RETURNS BOOLEAN
- name is the name of the screen record, see Identifying screen-arrays in ui.Dialog methods.
- row 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.