API:Vcl.DBCtrls.TDBLookupListBox.ListSource
Delphi
property ListSource: TDataSource read GetListSource write SetListSource;
C++
__property ListSource;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBLookupListBox |
Description
Identifies a data source for the data displayed in the lookup control.
Vcl.DBCtrls.TDBLookupListBox.ListSource inherits from Vcl.DBCtrls.TDBLookupControl.ListSource. All content below this line refers to Vcl.DBCtrls.TDBLookupControl.ListSource.
Identifies a data source for the data displayed in the lookup control.
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.