Back to Devexpress

TcxCustomDBLookupEditProperties.ListFieldIndex Property

vcl-cxdblookupedit-dot-tcxcustomdblookupeditproperties-4e28270d.md

latest1.6 KB
Original Source

TcxCustomDBLookupEditProperties.ListFieldIndex Property

Specifies the index of a listed field against which an editor performs search, and therefore, displays its values in the edit box.

Declaration

delphi
property ListFieldIndex: Integer read; write; default 0;

Property Value

TypeDefault
Integer0

Remarks

Use this property to select a target field from the list of fields that a lookup combo box displays as columns in its dropdown window, from left to right. The ListFieldIndex property specifies the zero-based index that corresponds to the target field’s order both in the dropdown window and the ListFieldNames property value.

Note

Use the Properties.ListFieldItem property instead of the ListFieldIndex property in the case of an extended lookup combo box to specify a column against which the combo box performs a search.

The ListFieldIndex property’s default value is 0.

See Also

TcxCustomDBLookupEditProperties Class

TcxCustomDBLookupEditProperties Members

cxDBLookupEdit Unit