RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebForm.GetLayoutAttributes Method

Returns the object that specifies how the generated form should look.

Pascal
function GetLayoutAttributes: TLayoutAttributes; virtual;
C++
virtual __fastcall TLayoutAttributes GetLayoutAttributes();

GetLayoutAttributes is used internally by Web items to allow the layout object supplied by a parent (as a parameter to the Content method) to take into account layout properties of the child component. 

As implemented by TWebForm, GetLayoutAttributes returns nil (Delphi) or NULL (C++), because the layout at the form level does not make use of layout attributes. 

 

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