Sign in Join
FPDoc Onlineexperiment

TComboBoxStyle enumeration

In unit StdCtrls

The display style available for combo-box controls.

Declaration

pascal
TComboBoxStyle = (csDropDown,csSimple,csDropDownList,csOwnerDrawFixed,
 csOwnerDrawVariable,csOwnerDrawEditableFixed,
 csOwnerDrawEditableVariable)

Description

TComboBoxStyle is an enumerated type with values which control the display style for combo-box controls. TComboBoxStyle is the type used for the Style property in TCustomComboBox and descendent classes.

See also

Values

csDropDownThe combo-box has an edit control and a button to open and close the drop-down list. This is the default value used for the control.
csSimpleThe combo-box has an edit control and a list box which is always visible.
csDropDownListThe combo-box has a drop-down list for selecting an entry. The selected value is displayed like a label and is not editable.
csOwnerDrawFixedSimilar to csDropDownList, but is owner-drawn with a fixed height for items in the list.
csOwnerDrawVariableThe drop-down list elements are owner-drawn and can have a variable height for items in the list.
csOwnerDrawEditableFixed
csOwnerDrawEditableVariable

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.