Use Alarm Pareto ActiveX events to trigger scripts
- Last UpdatedJul 22, 2024
- 1 minute read
You can assign QuickScripts to Alarm Pareto control events, such as a mouse click or double-click. When the event occurs, the QuickScript runs.
The Alarm Pareto control supports the following events:
-
Click
-
DoubleClick
-
ShutDown
-
StartUp
The Click event has one parameter called ClicknBarIndex, which identifies the index of the bar that is selected at run time.
The DoubleClick event has one parameter called DoubleClicknBarIndex, which identifies the index of the bar 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 Pareto control ignores the user interface methods when they are called from the StartUp event, because the control is not visible yet. These methods include: AboutBox() and Refresh().
For more information about scripting ActiveX events, see Scripting ActiveX Controls.