WebComp.ILayoutWebContent

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From WebComp.pas

ILayoutWebContent = interface(IInterface)
	[4E810ED1-F09B-11D2-AA53-00A024C11562]


Unit: WebComp

Type: interface

Class Methods: WebComp.ILayoutWebContent Methods

C++ Information

From WebComp.hpp

ILayoutWebContent = class(IInterface)


Unit: WebComp

Type: class

Inherited Class Members: WebComp.ILayoutWebContent Members

Class Methods: WebComp.ILayoutWebContent Methods

Description

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


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.

See Also

Personal tools
Translations
Newest Version