Vcl.StdCtrls.TComboBox.DropDownWidth
Delphi
property DropDownWidth;
C++
__property DropDownWidth;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TComboBox |
Description
TCustomComboBox.DropDownWidth specifies how to customize the minimum width of the combobox's dropdown list.
Vcl.StdCtrls.TComboBox.DropDownWidth inherits from Vcl.StdCtrls.TCustomComboBox.DropDownWidth. All content below this line refers to Vcl.StdCtrls.TCustomComboBox.DropDownWidth.
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.