Re-using ActiveX Event Scripts
- Last UpdatedNov 07, 2016
- 1 minute read
You can re-use ActiveX event scripts if they are created by the same ActiveX control parent and event.
For example, if you have multiple AlarmViewer ActiveX controls in an application, they can share event scripts for the DoubleClick event.
To re-use an ActiveX event script
-
Double-click the ActiveX control. The properties dialog box appears.
-
Click the Events tab.
-
Click the event to associate. Brackets and ellipses appear in the Script column.

-
In the Script column of the corresponding row, click the ellipsis button. The Choose ActiveX Script dialog box appears.
-
Click an ActiveX script and click OK.
-
Click OK again.