[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Ordinal position of the field in the lookup dataset with the descriptive value displayed in the control.
Source position: dbctrls.pp line 514
published property TDBLookupListBox.ListFieldIndex : Integer |
ListFieldIndex is an Integer property which contains the ordinal position of the field in the lookup dataset with the descriptive textual value displayed in the control.
Read and write access to the property value is redirected to the ListFieldIndex property in the internal TDBLookup instance used in the control. Assigning a new value to the property causes the UpdateLookup method to be called to re-initialize the TDBLookup instance and the value in the ItemIndex property.
The default value for the property is zero (0), and indicates that the first field in the lookup dataset is used as the list field.
Use ListSource to specify the datasource component used to access the lookup dataset for the control. Use ListField to specify the list field by its field name. Use KeyField to specify the field with the value stored in the DataField for the control.
|
Datasource with the lookup dataset for the control. |
|
|
Field name with the descriptive value displayed in the listbox. |
|
|
Field name in the lookup dataset with the value for the control. |
|
|
Name for the field in the linked dataset used in the control. |
Version 4.0 | Generated 2025-05-03 | Home |