Vcl.DBCtrls.TDBLookupControl.ListFieldIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ListFieldIndex: Integer read FListFieldIndex write FListFieldIndex default 0;

C++

__property int ListFieldIndex = {read=FListFieldIndex, write=FListFieldIndex, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupControl

Description

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.

See Also