Skip to main content

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

property ListFieldIndex: Integer read; write; default 0;

Property Value

Type Default
Integer 0

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