Vcl.StdCtrls.TComboBoxStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TComboBoxStyle = (csDropDown, csSimple, csDropDownList, csOwnerDrawFixed, csOwnerDrawVariable);

C++

enum DECLSPEC_DENUM TComboBoxStyle : unsigned char { csDropDown, csSimple, csDropDownList, csOwnerDrawFixed, csOwnerDrawVariable };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls Vcl.StdCtrls

Description

TComboBoxStyle is the type for the Style property of combo box controls that are defined in the StdCtrls unit.

The following table describes the values of TComboBoxStyle type:



Value Meaning

csDropDown

Defines a drop-down list with an edit box for manually entered text. All items are strings of the same height.

csSimple

Defines an edit box with a fixed list (list box) below it. The length of the list is determined by the Height of the combo box.

csDropDownList

Defines a drop-down list with no edit box; the user cannot enter text manually. All items are strings of the same height.

csOwnerDrawFixed

Defines an owner-drawn drop-down list with no edit box. Each item in the list has the height specified by the ItemHeight property.

csOwnerDrawVariable

Defines an owner-draw drop-down list with no edit box. List items can have varying heights.



See Also