Sign in Join
FPDoc Onlineexperiment

TColorBox.DropDownCount property

Member of TColorBoxpublishedIn unit ColorBox

The maximum number of Items visible in the drop-down list for the control.

Declaration

pascal
property DropDownCount:;

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.

This description is the one of StdCtrls.TCustomComboBox.DropDownCount.

See also

  • Items
  • ItemHeight
  • GetItemCount
  • AdjustDropDown

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.