# Drop Box Control

Variable Drop Box Control |

A Variable Drop Box control is similar to a Drop Box control but with the added capability of allowing variable input. This means that users can either click on the down arrow to select from the drop down list or manually enter a different value not in the list.

| The Variable Drop Box control on the left displays a drop down list of predefined items when the down arrow is clicked. Rather than selecting from the list, a different value (bird) has been manually entered. If the number of items in the list overflows the size of the Drop Box, a vertical scrollbar is automatically displayed. A Drop Box Data Class can also be applied to a Variable Drop Box control.

## Creating a Variable Drop Box

The steps to create a Variable Drop Box are:

| 1. | To draw a new Variable Drop Box on your panel, select the Drop Box control tool from the Controls Toolbar. Hold down the left mouse button and drag the mouse to create a rectangle to the desired size. Release the mouse button to create the new object. A Drop Box control can also be created from a data class or a data dictionary element. See Data Class Controls and Data Element Controls.
| 2. | To make this a Variable Drop Box: In Drop Box Properties, select the Allow Variable Input attribute (on Display or Attributes tab) to allow users to input their own values. An Input Length can be optionally specified (on Display tab).
| 3. | Define any other specific attributes for this control as needed.

For a list of properties that can be applied to a Variable Drop Box, see VARDROP_BOX Properties.

## See Also

Dynamic Control Properties
VARDROP_BOX Directive