Use Alarm DB View ActiveX events to trigger scripts
- Last UpdatedJul 22, 2024
- 1 minute read
You can assign QuickScripts to Alarm DB View control events, such as a mouse click or double-click. When the event occurs, the QuickScript runs.
The Alarm DB View control supports the following events:
-
Click
-
DoubleClick
-
ShutDown
-
StartUp
The Click event has one parameter called ClicknRow, which identifies the row that is selected at run time.
The DoubleClick event has one parameter called DoubleClicknRow, which identifies the row that is double-clicked at run time.
Click and DoubleClick events are zero-based. When Click and/or DoubleClick events are published, the bar count in the display starts with 0.
Note: The Alarm DB View control ignores the user interface methods when they are called from StartUp event, because the control is not visible yet. These methods include: ShowSort(), ShowContext(), GetSelectedItem(), GetNext(), GetPrevious(), and AboutBox().
For more information about scripting ActiveX events, see Scripting ActiveX Controls.