RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldDataLink.LayoutChanged Method

Ensures that the Field property is valid after changes in the layout of a container of the Control for this TFieldDataLink.

Pascal
procedure LayoutChanged; override;
C++
virtual __fastcall LayoutChanged();

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. 

 

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