Skip to content

ComboBoxStyle Enumeration

Description

Style properties for the combobox control.

Members

Member Description
xtpComboDropDown (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.
xtpComboSimple 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.
xtpComboDropDownList Dropdown List. This style allows selection only from the drop-down list.

Remarks

The combobox's Style property accepts a flag from the ComboBoxStyle enumeration to determine the style of the control.

Use xtpComboDropDown or xtpComboSimple to give the user a list of choices. Either style enables the user to enter a choice in the text box. Setting xtpComboDropDown saves space on the form because the list portion closes when the user selects an item.

Use xtpComboDropDownList to display a fixed list of choices from which the user can select one. The list portion closes when the user selects an item.

See Also

Style Property


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.