TCustomComboBox.DropDownCount property
The maximum number of Items visible in the drop-down list for the control.
Declaration
property DropDownCount: Integer read FDropDownCount write SetDropDownCount default 8;Description
DropDownCount is an
Integer property which specifies
the maximum number of values from
Items that can be displayed in
the drop-down list for the control. Setting a new value for the property
causes the widgetset class to be notified using its
SetDropDownCount method when a handle has been allocated for the
control.
DropDownCount is used (along with the item count and ItemHeight)
in the AdjustDropDown method to set the minimum dimensions for the
drop-down list.
The default value for the property is 8.
For the macOS Carbon and GTK2 widgetsets, changing the value in DropDownCount
does not affect the control. This attribute is determined by the native
control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
