RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDSTableProducer.AcquireLayoutLock Method

Calls BeginLayout when the HTML table is not currently being laid out.

Pascal
function AcquireLayoutLock: Boolean;
C++
__fastcall Boolean AcquireLayoutLock();

Applications cannot call this protected method. AcquireLayoutLock is called before recomputing Columns when the fields in the dataset change or when the Columns property changes. AcquireLayoutLock returns true if the HTML table is not already being laid out, to indicate that the computation of Columns should proceed. AcquireLayoutLock prevents the computation of Columns from looping endlessly in response to the changes that occur during the computation. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!