Web.DBWeb.TDSTableProducer.AcquireLayoutLock
Delphi
function AcquireLayoutLock: Boolean;
C++
bool __fastcall AcquireLayoutLock();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Web.DBWeb.pas Web.DBWeb.hpp |
Web.DBWeb | TDSTableProducer |
Description
Calls BeginLayout when the HTML table is not currently being laid out.
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.