Visual Basic Reference

ComboBox Constants

See Also

The Style property settings for the ComboBox control are:

Constant Value Description
vbComboDropDown 0 (Default) Dropdown Combo. Includes a drop-down list and a text box. The user can select from the list or type in the text box.
vbComboSimple 1 Simple Combo. Includes a text box and a list, which doesn't drop down. The user can select from the list or type in the text box. The size of a Simple combo box includes both the edit and list portions. By default, a Simple combo box is sized so that none of the list is displayed. Increase the Height property to display more of the list.
vbComboDrop-DownList 2 Dropdown List. This style allows selection only from the drop-down list.

Show: