RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLayoutWebContent Class

TLayoutWebContent lets child Web items adhere to layout rules imposed by their parent.

Pascal
TLayoutWebContent = class(TObject, ILayoutWebContent);
C++
class TLayoutWebContent : public TObject, public ILayoutWebContent;

WebComp

TLayoutWebContent is the base class for objects that implement the ILayoutWebContent interface. Parent components pass a TLayoutWebContent descendant to child Web items as the ParentLayout parameter of their Content method. This object provides helper functions that the child items use to fit their generated content into the parent object's HTML structure (typically a <TABLE> tag). For example, the TLayoutWebContent methods may add <TD> tags around generated HTML that fills the cells of a parent's HTML table. 

Do not create instances of TLayoutWebContent. This implementation of the ILayoutWebContent methods consists of abstract or, in C++ terminology, pure virtual methods. Instead, use a TLayoutWebContent descendant such as TFormLayout or TAdapterFormLayout, which supplies an implementation for those methods. 

 

TLayout 

IWebContent 

ILayoutWebContent 

TFormLayout 

TAdapterFormLayout

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