RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLayoutWebContent.ImplLayoutTable Method

Provides the underlying implementation for the LayoutTable method.

Pascal
function ImplLayoutTable(const HTMLTable: string; Attributes: TLayoutAttributes): string; virtual; abstract;
C++
virtual __fastcall AnsiString ImplLayoutTable(const AnsiString HTMLTable, TLayoutAttributes Attributes) = 0;

The LayoutTable method calls ImplLayoutTable to convert the HTML that declares a table (typically a structure used to layout the content produced by the child Web item's children) into the form that the associated Web item requires. 

HTMLTable is the HTML that declares the table. This is produced by the child Web item. 

Attributes describes any style attributes or layout considerations that should be applied to the final HTML for the table. 

LayoutTable returns the HTML for the table in a form that the associated Web item can use. 

In TLayoutWebContent, ImplLayoutTable is abstract or, in C++ terminology, pure virtual. Descendant classes override this method to provide an implementation for the LayoutTable method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!