RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupListBox.ListSource Property

Identifies a data source for the data displayed in the lookup control.

Pascal
property ListSource: TDataSource;
C++
__property TDataSource ListSource;

Set LookupSource to the data source that contains the KeyField and ListField fields. If the DataField field is a lookup field, don't specify anything for ListSource; data controls automatically use the lookup field's LookupDataSet property to create a data source. 

 

DataField 

DataSource 

KeyField 

ListField 

ListFieldIndex 

LookupDataSet 

Displaying and Editing Data in Lookup List and Combo Boxes

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!