Vcl.DBCtrls.TDBLookupComboBox.DropDownWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DropDownWidth: Integer read FDropDownWidth write FDropDownWidth default 0;

C++

__property DropDownWidth = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupComboBox

Description

Specifies the width, in pixels, of the drop-down list.

Vcl.DBCtrls.TDBLookupComboBox.DropDownWidth inherits from Vcl.DBCtrls.TCustomDBLookupComboBox.DropDownWidth. All content below this line refers to Vcl.DBCtrls.TCustomDBLookupComboBox.DropDownWidth.

Specifies the width, in pixels, of the drop-down list.

Use DropDownWidth to customize the width of the drop-down list. If DropDownWidth is 0 (the default), the drop-down list is the same width as the combo box.

DropDownWidth is useful when displaying multiple list fields, and therefore, multiple columns in the database lookup combo box.

See Also