Vcl.StdCtrls.TCustomComboBox.DropDownWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DropDownWidth: Integer read GetDropDownWidth write SetDropDownWidth stored IsDropDownWidthStored;

C++

__property int DropDownWidth = {read=GetDropDownWidth, write=SetDropDownWidth, stored=IsDropDownWidthStored, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomComboBox

Description

TCustomComboBox.DropDownWidth specifies how to customize the minimum width of the combobox's dropdown list.

If anything less than the combobox width, then no difference can be noticed. Larger sizes allow the list to be wider than the combobox for wider strings.

If the wider list might spill off the edge of the screen then the list is shifted so that the right list edge is below the combobox right edge and the extra width extends out to the left past the left edge of the combobox.

See Also