Vcl.DBLookup.TDBLookupCombo.LookupSource
Delphi
property LookupSource: TDataSource read GetLookupSource write SetLookupSource;
C++
__property Data::Db::TDataSource* LookupSource = {read=GetLookupSource, write=SetLookupSource};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.DbLookup.pas Vcl.DBLookup.hpp |
Vcl.DBLookup | TDBLookupCombo |
Description
Identifies the link to the dataset where the TDBLookupCombo looks up its data.
Set LookupSource to the TDataSource object that links to the dataset where the DB lookup combo should fetch its data. LookupSource allows the lookup combo to read from, write to, and navigate around the dataset.
DBLookupCombo1.LookupSource := DataSource1;
DBLookupCombo1->LookupSource = DataSource1;