Drop-down list box control
A drop-down list box control displays a list of possible values for a particular field. Clicking the control displays the list of values associated with the field, and the user chooses one of the values.
When the field behavior is set to read-only, the currently selected value is displayed; you cannot edit this value. Users cannot modify the entries in the drop-down list box; however, you can update the list by using a choice-list hook.
You can assign only multiline and reference list field types to a drop-down list box control. Any field that you assign to the control must have a choice list associated with it. Only one item at a time can be selected from the list with this control.
The property sheet for a drop-down list box control has four pages: General, Extended, Context Menu Hooks, and Web Dependent Fields.
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 label is 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 displays the list of available record hooks and the hooks that are currently associated with this control. To associate a hook with the control, select the hook in the Available column and click Add. To dissociate a hook, select the hook in the Selected column and click the Remove button. Hooks associated with this control are displayed in the control pop-up menu in the HCL Compass Web 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.