[Overview][Constants][Types][Classes][Index] Reference for unit 'db' (#fcl)

TDatalink

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Data event handling agent for controls

Declaration

Source position: db.pas line 76

type TDatalink = class end;

Inheritance

TDatalink

  

Data event handling agent for controls

|

TObject

Description

TDataLink is used by GUI controls or datasets in a master-detail relationship to handle data events coming from a TDatasource instance. It is a class that exists for component programmers, application coders should never need to use TDataLink or one of it's descendents.

DB-Aware Component coders must use a TDatalink instance to handle all communication with a TDataset instance, rather than communicating directly with the dataset. TDataLink contains methods which are called by the various events triggered by the dataset. Inversely, it has some methods to trigger actions in the dataset.

TDatalink is an abstract class; it is never used directly. Instead, a descendent class is used which overrides the various methods that are called in response to the events triggered by the dataset. Examples are .

See also

TDataset

  

Base class for records-based data-access

TDatasource

  

Component representing the link between a local (GUI) component and a dataset

TDetailDatalink

  

Represents the link between a detail data source and a master datasource.

TMasterDataLink

  

Datalink for Master-Detail relationships between datasets.


Documentation generated on: Nov 07 2012