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:

  1. Open a container object, such as a Dialog or SmartWindow.
  2. 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.
  3. 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 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