Testing an ActiveX Control
Go Up to Using ActiveX Controls Index
To test your control, add it to a package and import it as an ActiveX control. This procedure adds the ActiveX control to the Delphi Tool palette. You can drop the control on a form and test as needed.
Your control should also be tested in all target applications that will use the control.
To debug the ActiveX control, select Run > Parameters and type the client name in the Host Application edit box.
The parameters then apply to the host application. Selecting Run > Run will run the host or client application and allow you to set breakpoints in the control.