API:Vcl.DBLookup.TDBLookupList.DataSource
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 the data-aware grid finds its data.
Vcl.DBLookup.TDBLookupList.DataSource inherits from Vcl.DBGrids.TCustomDBGrid.DataSource. All content below this line refers to Vcl.DBGrids.TCustomDBGrid.DataSource.
Identifies the link to the dataset where the data-aware grid finds its data.
Set DataSource to the TDataSource object that links to the dataset where the data-aware grid should fetch its data. DataSource allows the data-aware grid to read from, write to, and navigate around the dataset.