Progress
External Program
Interfaces
Creating a Control Instance In Progress
You must use the AppBuilder to add an ActiveX control to your application. Follow these steps in the AppBuilder to add a control:
- Open a container object, such as a Dialog or SmartWindow.
- Choose an ActiveX control from the object Palette by clicking the OCX button to open the Choose Control dialog box, or by clicking the button for one of the three Progress-supported ActiveX controls.
- Drop the selected control into your design window.
NOTE: These are general steps. For complete information on using the AppBuilder to add an ActiveX control, see the Progress AppBuilder Developer’s Guide .If you save your work at this point, the AppBuilder generates the following data and code for your application:
- The definition for a default instance of the specified ActiveX control in a binary (.wrx) file. This includes the initial definition provided by the control vendor. The binary file includes all ActiveX control instances for the corresponding .w file.
- Default 4GL code in your .w file to instantiate and orient the ActiveX control in the user interface at runtime.
The rest of this section describes how you can modify the default definition of an ActiveX control instance. For more information on the 4GL code for instantiating an ActiveX control at runtime, see the "Accessing ActiveX Controls At Runtime" section. For more information on locating and sizing the control in the user interface, see the "Orienting a Control In the User Interface At Design Time" section.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |