ActiveX control

The ActiveX control provides a way to incorporate any registered ActiveX control into a form. For example, you might use an ActiveX control to access and update an external database.

You write the initialization record script that runs when the form that contains the control is opened and the action record script that runs when a user initiates an action (such as Submit), or the action is completed or reverted.

Before using this control, you must be familiar with ActiveX functionality and how to register your controls.

The property sheet for an ActiveX control has two pages: General and ActiveX Control.

General page

The following table lists the properties of the General page.

Property
Description
Field Name
Select the field to associate with the control.
Label
Enter a label for the control. By default, the Designer sets the label to the name of the selected field.
X
The horizontal starting point of the control in pixels.
Y
The vertical starting point of the control in pixels.
Width
The width of the control in pixels.
Height
The height of the control in pixels.

ActiveX control page

The following table lists the properties of the ActiveX Control page.

Property
Description
Registered Name
Type the registered name of the ActiveX control that you want to use.
Initialization Record
Select a record script from the list. The record script is used to initialize the control, and runs when the control's form opens.
Action Record Script
Select a record script from the list. The record script is called by the HCL Compass runtime whenever the user initiates an action, such as submit or modify, or when the action is completed or reverted.