[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TComboBoxStyle

The display style available for combo-box controls.

Declaration

Source position: stdctrls.pp line 262

type TComboBoxStyle = (

  csDropDown,

  

The 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.

  csSimple,

  

The combo-box has an edit control and a list box which is always visible.

  csDropDownList,

  

The combo-box has a drop-down list for selecting an entry. The selected value is displayed like a label and is not editable.

  csOwnerDrawFixed,

  

Similar to csDropDownList, but is owner-drawn with a fixed height for items in the list.

  csOwnerDrawVariable,

  

The drop-down list elements are owner-drawn and can have a variable height for items in the list.

  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

TCustomComboBox.Style

  

Controls the appearance and behavior for the combo-box.


Version 3.2 Generated 2024-02-25 Home