Vcl.DBCtrls.TFieldDataLink.LayoutChanged
Delphi
procedure LayoutChanged; override;
C++
virtual void __fastcall LayoutChanged();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TFieldDataLink |
Description
Ensures that the Field property is valid after changes in the layout of a container of the Control for this TFieldDataLink.
LayoutChanged is called after changes in the layout of one of the containers of the Control for this TFieldDataLink that might change the validity of its field binding. For example, if the Control is embedded within a TCustomDBGrid, and one of the columns is deleted, the Field property for the Control might become invalid.