RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupComboBox.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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!