Combo-box control

A combo-box control combines an editable text field with a list box. When opened, the combo box shows the list of choices associated with the particular field.

Users can enter additional choices by using the editable text field of the combo box. If the number of entries in the list exceeds the size of the list, a vertical scroll bar along the right edge of the control is added.

You can assign only multiline and reference list field types to a combo-box control. However, any field that you assign to the combo box must have a choice list associated with it or must support the addition of a choice list by using the combo box. For most field types, only one item from the choice list can be selected in the combo box; some fields support multiple selections.

The property sheet for a combo box control has three pages: General, Extended, and Context Menu Hooks.

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.

Extended page

The Extended page contains a check box for the Auto Sort property. If this check box is selected, entries in the list portion of the drop-down combo box are sorted alphabetically. If this check box is cleared, entries are listed in the order in which they were added.

Context Menu Hooks page

The Context Menu Hooks page shows the list of available record hooks and the hooks that are curretnly associated with this control. To associate a hook with the control, select the hook in the Available column and click Add. To disassociate a hook, select the hook in the Selected column and click Remove. Hooks associated with this control are displayed in the control's pop-up menu in the HCL Compass Client application. To run one of these hooks, users must right-click the control and select the name of the hook.

Web Dependent Fields page

To have a dependent field work in the HCL Compass Web client, use the Web Dependent Fields page to specify the field on which the dependency is based. You do this when you add the field to a form.

To indicate the field on which the dependency is based, select a field from the Available box and click Add. To remove a field, select it from the Selected box and click Remove.