RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldDataLink Class

TFieldDataLink helps a data-aware windowed control manage its link to a TField object and respond to data events.

Pascal
TFieldDataLink = class(TDataLink);
C++
class TFieldDataLink : public TDataLink;

DBCtrls

Use TFieldDataLink as a member in any data-aware object that needs to link to a TField object and respond to data events or track database information. The data-aware object must be a descendant of TWin WidgetControl

The constructor of the data-aware object should call the constructor of the TFieldDataLink member, and initialize any relevant event-handlers. The data-aware object can then link to a TField object by using the FieldName property of the TFieldDataLink and can link to a dataset by using the DataSource property of the TFieldDataLink. 

 

TDataSource 

TField 

TWinControl 

TWidgetControl

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!