Progress
External Program
Interfaces


Requirements For Using ActiveX Controls

You can access ActiveX controls in two modes:

Design-mode (or design-time) access allows you to modify properties that initialize the control and define it for use in an application. For many controls, these properties affect such attributes as color and size, but also enable and disable other special features unique to each ActiveX control. In general, design-time properties affect the appearance and initial internal state of an ActiveX control. Design-time properties are generally readable, but might not be writable at run time.

Run-mode (or runtime) access allows your application to interact with the control, responding to events, invoking methods, and getting and setting properties that affect the ActiveX control at run time. Run-time properties might not be readable or writable at design time.

The requirements for working in each mode differ.

Design-mode Requirements

To define an ActiveX control for use in a Progress application, you must:

Aside from using the AppBuilder to create ActiveX control instances, you can also code OCX event procedures and control-frame event triggers with minimal effort using the AppBuilder. The AppBuilder event list includes both ActiveX control events and Progress control-frame widget events. The control-frame event names appear first, followed by the ActiveX control event names prefixed by OCX. For more information on accessing this list of events, see the Progress AppBuilder Developer’s Guide .

Run-mode Requirements

An ActiveX control is always in run mode when you execute a Progress application that includes it. No license is required for run-time access to an ActiveX control. Thus, to deploy and execute an application that contains ActiveX controls, you must provide at least the following files:

The .wrx file contains most of the information required to use each ActiveX control instance at run time, often including references to bitmaps and other external files.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095