Try OpenEdge Now
skip to main content
Programming Interfaces
External Program Interfaces : ActiveX Control Support : Creating a control instance in ABL : Understanding design time and runtime properties
 
Understanding design time and runtime properties
To customize the definition for an ActiveX control, you must change the values of control properties in the AppBuilder at design time. Each ActiveX control supports a specific list of properties that you can set at design time (design time properties) and another list of properties that you can read or write at runtime (run-time properties). (You can set some properties at both design time and runtime.)
To modify design time properties, you generally require a license from the control vendor. The vendor typically provides this license to application developers (as opposed to application end-users) for installation with the control.
The AppBuilder provides access to all available design time properties using the OCX Property Editor window. This window contains all design time properties including the extended properties that ABL adds. This is the only way to set values for properties writable only at design time.
To modify run-time properties, you write ABL code that sets the property value using the component handle to the control.
For more information on the available design time properties, see the list displayed in the OCX Property Editor window, and consult your ActiveX control documentation. For information on the available run-time properties, see the list displayed in the OpenEdge COM Object Viewer (see UsingCOM Objects in ABL), and consult your ActiveX control documentation.