Vcl.DBCtrls.TFieldDataLink
Delphi
TFieldDataLink = class(TDataLink)
C++
class PASCALIMPLEMENTATION TFieldDataLink : public Data::Db::TDataLink
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | Vcl.DBCtrls |
Description
TFieldDataLink helps a data-aware windowed control manage its link to a TField object and respond to data events.
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.