Web.DBWeb.TDSTableProducer.LayoutChanged

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LayoutChanged;

C++

void __fastcall LayoutChanged();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Web.DBWeb.pas
Web.DBWeb.hpp
Web.DBWeb TDSTableProducer

Description

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

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.

See Also