Data.DB.TDataLink.DataSource

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DataSource: TDataSource read FDataSource write SetDataSource;

C++

__property TDataSource* DataSource = {read=FDataSource, write=SetDataSource};

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TDataLink

Description

Specifies the TDataSource object that the Owner of the TDataLink uses to connect to the dataset.

Use DataSource to determine or set the TDataSource object that connects to the dataset. TDataLink responds to data events that the DataSource receives.

Note: To implement the DataSource property of a data-aware object which owns a TDataLink or its descendant, create a method that gets or sets the DataSource property of the TDataLink derived member.

See Also