RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataLink.DataSource Property

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

Pascal
property DataSource: TDataSource;
C++
__property TDataSource DataSource;

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!