SelectItem() method
- Last UpdatedJun 19, 2024
- 1 minute read
Toggles the selection of an alarm record at a given row.
Syntax
Object.SelectItem(RowNumber)
Parameter
RowNumber
An integer value that is the row number for the alarm record to select. The first row in the control is 0.
Example
The name of the control is AlarmViewerCtrl1 and Tag1 is defined as a memory integer. This toggles the selection of the tenth alarm record in the Alarm Viewer control.
Tag1 = 9;
#AlarmViewerCtrl1.SelectItem (Tag1);