RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDSTableProducer.LayoutChanged Method

Causes the Columns property to be recomputed when the dataset changes or changes are made to individual column objects.

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

Applications cannot call this protected method. It is called when the Columns property changes or the fields in the dataset change. LayoutChanged recomputes the Columns property after guarding against recursion from the changes to the Columns property that arise in the computation. 

LayoutChanged calls AcquireLayoutLock to initiate the changes to Columns. If AcquireLayoutLock does not indicate that the call to LayoutChanged is recursive, LayoutChanged calls EndLayout to perform the actual computation. 

 

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