FMX.ListBox.TCustomComboBox.DropDownCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DropDownCount: Integer read FDropDownCount write FDropDownCount default 8;

C++

__property int DropDownCount = {read=FDropDownCount, write=FDropDownCount, default=8};

Properties

Type Visibility Source Unit Parent
property protected
FMX.ListBox.pas
FMX.ListBox.hpp
FMX.ListBox TCustomComboBox

Description

Specifies the maximum number of items displayed in the drop-down list.

By default, the drop-down list displays 8 items that are visible without requiring the user to scroll. To make the drop-down list smaller or larger, specify a number smaller or larger than eight as the DropDownCount value.

If the DropDownCount value is larger than the number of items, the drop-down list will be only large enough to display the existing items. If the DropDownCount value is smaller than the number of items, the drop-down list displays a scroll bar.

See Also