Vcl.DBLookup.TDBLookupCombo.DropDownCount
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 | published | Vcl.DbLookup.pas Vcl.DBLookup.hpp |
Vcl.DBLookup | TDBLookupCombo |
Description
Specifies the maximum number of items displayed in the drop-down combo lookup list.
By default, the combo lookup drop-down list is long enough to contain eight items without requiring the user to scroll to see them all. To make the drop-down list smaller or larger, specify a number larger or smaller than eight as the DropDownCount value.
If the DropDownCount value is larger than the number of items in the list, the drop-down list will be just large enough to hold all the possible choices and no more. If the DropDownCount value is smaller than the number of items in the list, the drop-down list will display a scroll bar.
DropDownCount is meaningful only if the style is not csExSimple.