Reuse ActiveX event scripts
- Last UpdatedJul 24, 2024
- 1 minute read
You can reuse 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.
Reuse an ActiveX event script
-
Double-click the ActiveX control. The properties dialog box appears.
-
Select the Events tab.
-
Select the event to associate. Brackets and ellipses appear in the Script column.

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