Vcl.DBCtrls.TDBLookupComboBox.ListFieldIndex
Delphi
property ListFieldIndex: Integer read FListFieldIndex write FListFieldIndex default 0;
C++
__property ListFieldIndex = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBLookupComboBox |
Description
Specifies which field from the ListField property is used for incremental searching.
Vcl.DBCtrls.TDBLookupComboBox.ListFieldIndex inherits from Vcl.DBCtrls.TDBLookupControl.ListFieldIndex. All content below this line refers to Vcl.DBCtrls.TDBLookupControl.ListFieldIndex.
Specifies which field from the ListField property is used for incremental searching.
When the ListField property specifies more than one field, use ListFieldIndex to specify which of those fields is the one to use for incremental searches. For the TDBLookupComboBox object, ListFieldIndex also determines which field appears in the edit region of the combo box.
ListFieldIndex allows the most important value to appear in a position other than the first when all the values of the ListField fields are displayed. The value of ListFieldIndex must be less than the number of fields specified by the ListField property.