4. System Classes : ArrayObject Class : _RowSelected Attribute
 
Share this page                  
_RowSelected Attribute
Data Type: smallint
4GL Access: RW
The _RowSelected attribute is a built-in attribute that is set only if the ArrayObject is the underlying array for a TableField. The 4GL code can access it as if it were a hidden column of a TableField. The attribute is TRUE if the row is selected; otherwise, it is FALSE.
If the SelectionType of the TableField is SEL_MULTIPLE, or if the ScrollingChangesSelection attribute is set to FALSE, then the _RowSelected attribute is the only way to ascertain which rows are selected, or to set the selections from 4GL (in the default TableField, CurRow would typically be used instead).
For more information, see the section dealing with multiple selection on TableFields in the Programming Guide.