Style Property

See Also8DDQ02

Applies To

Combo box1YZXFF6.


Specifies the type of combo box and the behavior of its list box portion; read-only at run time.




The Style property settings are:

Setting          Description


0                   (Default) Dropdown Combo.  Includes a drop-down list and an edit area.  The user can select from the list or type in the edit area.

1                   Simple Combo.  Includes an edit area and a list that is always displayed.  The user can select from the list or type in the edit area.  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 shows.  Increase the HeightL14VJZ property to show more of the list.

2                   Dropdown List.  This style only allows selection from the drop-down list.



Follow these guidelines in deciding which setting to choose:

         Use setting 0 (Dropdown Combo) or setting 1 (Simple Combo) to give the user a list of choices.  Either style enables the user to enter a choice in the edit area.  Style 0 saves space on the form because the list portion closes when the user makes a selection.

         Use setting 2 (Dropdown List) to display a fixed list of choices from which the user can select one.  The list portion closes when the user selects an item.


Data Type

IntegerDOKXHY (Enumerated)

See Also


Change Event8DZUNR

Click Event68UQAKP

DblClick Event2UG5QK1

DropDown EventD97HKU


Programmer's Guide:

Chapter 3, "Creating and Using Controls"