RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ILayoutWebContent Interface

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

Pascal
ILayoutWebContent = interface;
C++
__interface ILayoutWebContent;

WebComp

The Content method, implemented by all Web items to return the generated HTML, takes as a parameter an object of type TLayout. TLayout is any object that implements the ILayoutWebContent interface. Typically, this is a descendant of TLayoutWebContent

Parent components pass the TLayout object to child Web items to provide 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 ILayoutWebContent methods may add <TD> tags around generated HTML that fills the cells of a parent's HTML table. 

 

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