Vcl.DBLookup.TDBLookupList.DataSource

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DataSource: TDataSource read GetDataSource write SetDataSource;

C++

__property Data::Db::TDataSource* DataSource = {read=GetDataSource, write=SetDataSource};

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 finds its data.

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



DBLookupList1.DataSource := DataSource1;



DBLookupList1->DataSource = DataSource1;



See Also