Naming ActiveX Controls
- Last UpdatedMar 21, 2022
- 1 minute read
A new instance of a control is created and given a unique name when you:
-
Select Duplicate.
-
Select Cut or Copy and then Paste.
-
Select Save Window As.
-
Click Undo and then Redo.
-
Import a window that contains a control.
ActiveX controls must have unique names. If you try to use a name that already exists for a control, an error message appears.
To name an ActiveX control
-
Paste the ActiveX control into your development window.
-
Double-click the control. The control Properties dialog box appears.
-
Click the Control Name tab and then type a name for the ActiveX control in the ControlName box.