Customizing the ActiveX Control's Interface
Go Up to Using ActiveX Controls Index
You can add, edit, and remove the properties, methods, and events in an ActiveX control by editing the type library. You can use the Type Library editor as described in Using the Type Library Editor. Remember that when you add events, they should be added to the Events interface, not the default interface of the ActiveX control.
You may also choose not to expose all of the properties, methods, and events of the VCL control to host applications. You can use the Type Library editor to remove these from the interfaces that the wizard generated. When you remove properties and methods from an interface using the Type Library editor, the Type Library editor does not remove them from the corresponding implementation class. Edit the ActiveX wrapper class in the implementation unit to remove these after you have changed the interface in the Type Library editor.
- Adding Additional Properties, Methods, and Events
- Enabling Simple Data Binding with the Type Library