RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ILayoutWebContent.LayoutField Method

Converts the HTML declaring a field into a form the Web item's parent can use.

Pascal
function LayoutField(const HTMLField: string; Attributes: TLayoutAttributes): string;
C++
__fastcall AnsiString LayoutField(const AnsiString HTMLField, TLayoutAttributes Attributes);

Call LayoutField to convert the HTML that declares a field (an input control that represents a data field or a named value) into the form required by the Web item's parent. 

HTMLField is the HTML that declares the field. This is produced by the Web item. 

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

LayoutField returns the HTML for the field in a form that can be used by the Web item's parent. 

 

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