Object Reference > TDBDropDown Properties > ListField Property |
The ListField property returns or sets the name of the column used for incremental search within a TDBDropDown control.
TDBDropDown.ListField = string
Read/Write at run time and design time.
The ListField property need not be the same as the DataField property used to specify the name of the drop-down column used to update the associated grid column when the user selects an item from a TDBDropDown control.
If the ListField property is not specified, the DataField property specifies the column to be used for both incremental search and the selection value. If neither property is specified, then the first column in the TDBDropDown control will be used.
Note
To associate a TDBDropDown control with a Column object that belongs to a TDBGrid control, set the column's DropDown property to the name of the drop-down control at either design time or run time.