Combo boxes

A combo box consists of a list and a selection field. The list presents the options that a user can select and the selection field displays the current selection. Except in drop-down list boxes, the selection field is an edit control and can be used to enter text not available in the list.

Combo boxes can be characterized by type and style. Combo box types determine whether the combo box list is a drop-down list and whether the selection field is an edit control. A drop-down list appears only when the user opens it, so it uses less screen space than a list that is always visible. If the selection field is an edit control, the user can enter information not available in the list; otherwise, the user can only select items in the list.

The following table shows the three combo box types and indicates their drop-down list and edit control attributes.

Combo box type Drop-down list Edit control
Drop-down combo box Yes Yes
Drop-down list box Yes No
Simple combo box No Yes

Combo box styles define specific properties of a combo box. You can combine styles; however some styles only apply to certain combo box types.

Styles