Vcl.StdCtrls.TCustomComboBox.AutoDropDownWidth
Delphi
property AutoDropDownWidth: Boolean read FAutoDropDownWidth write FAutoDropDownWidth default False;
C++
__property bool AutoDropDownWidth = {read=FAutoDropDownWidth, write=FAutoDropDownWidth, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomComboBox |
Description
Setting TCustomComboBox.AutoDropDownWidth to True
causes the dropdown list width to be automatically set to as wide as the widest string in the combobox items.