WebComp.TLayoutWebContent

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From WebComp.pas

TLayoutWebContent = class(TObject)


Unit: WebComp

Type: class

Inherited Class Members: WebComp.TLayoutWebContent Members

Class Properties: WebComp.TLayoutWebContent Properties

Class Methods: WebComp.TLayoutWebContent Methods

Class Constructors & Destructors: WebComp.TLayoutWebContent Constructors

C++ Information

From WebComp.hpp

TLayoutWebContent = class(TObject)


Unit: WebComp

Type: class

Inherited Class Members: WebComp.TLayoutWebContent Members

Class Properties: WebComp.TLayoutWebContent Properties

Class Methods: WebComp.TLayoutWebContent Methods

Class Constructors & Destructors: WebComp.TLayoutWebContent Constructors

Description

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


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.

See Also

Personal tools
Translations
Newest Version