Vcl.DBLookup.TDBLookupList.LookupSource

From RAD Studio API Documentation
Jump to: navigation, search

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 TDBLookupList

Description

Identifies the link to the dataset where TDBLookupList looks up its data.

Set LookupSource to the TDataSource object that links to the dataset where the DB lookup list should fetch its data. LookupSource allows the lookup list to read from, write to, and navigate around the dataset.



DBLookupList1.LookupSource := DataSource1;



DBLookupList1->LookupSource = DataSource1;



See Also