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

TCustomComboBox.Style

Appearance and behavior of the combo-box.

Declaration

Source position: stdctrls.pp line 441

public property TCustomComboBox.Style : TComboBoxStyle
  read FStyle
  write SetStyle
  default csDropDown;

Description

Style is quite Windows centric, reflecting the evolution of combo-box styles. The basic styles are:

csSimple
Displays an edit box with an attached list (not a drop-down list).
csDropDown
Displays an edit box with a drop-down list.
csDropDownList
Values cannot be entered by the user in the edit box, only selected from the drop-down list.

Owner-drawn drop-down lists have been added, with the values:

csOwnerDrawFixed
All items in the drop-down list are drawn with the same height.
csOwnerDrawVariable
Each item in the list can have a different height.
The latest version of this document can be found at lazarus-ccr.sourceforge.net.