TComboBoxStyle Type

Specifies the CNClrLib.Control.ComboBox|TCnComboBox style.

Namespace: CNClrLib.Control.EnumTypes
type
 TComboBoxStyle = CNClrlib.EnumTypes.TComboBoxStyle;

Field
Description

cbsSimple

Specifies that the list is always visible and that the text portion is editable. This means that the user can enter a new value and is not limited to selecting an existing value in the list.

cbsDropDown

Specifies that the list is displayed by clicking the down arrow and that the text portion is editable. This means that the user can enter a new value and is not limited to selecting an existing value in the list. When using this setting, the Append value of AutoCompleteMode works the same as the SuggestAppend value. This is the default style.

cbsDropDownList

Specifies that the list is displayed by clicking the down arrow and that the text portion is not editable. This means that the user cannot enter a new value. Only values already in the list can be selected. The list displays only if AutoCompleteMode is acmSuggest or acmSuggestAppend.