Adding ActiveX Controls
To add an ActiveX control first register it to the Windows system - check the documentation provided with your ActiveX control for details on how to do this.
Open the form editor by right-clicking on a [Form] in the PowerCOBOL project tree, and selecting Open from the pop-up menu.
From the form editor menu select Tools, Custom Controls.
PowerCOBOL displays a list of the registered controls.
Figure 2.25 Custom Controls dialog
Select (check) the controls you would like to use in your PowerCOBOL application and click on OK. PowerCOBOL adds the control to the Insert Control sub-menu, and adds a button to the control toolbox.
You use ActiveX controls just like any other PowerCOBOL control. You place them on the form, create code to handle events, invoke methods and set and reference properties as you have already done with other controls in this guide.