RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLayoutWebContent.LayoutButton Method

Converts the HTML declaring a button into a form the associated Web item can use.

Pascal
function LayoutButton(const HTMLButton: string; Attributes: TLayoutAttributes): string;
C++
__fastcall AnsiString LayoutButton(const AnsiString HTMLButton, TLayoutAttributes Attributes);

Call LayoutButton to convert the HTML that declares a button (typically an <INPUT> tag) into the form that the associated Web item requires. 

HTMLButton is the HTML that declares a button. 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 button. 

LayoutButton returns the HTML for the button in a form that the associated Web item can use. 

LayoutButton delegates the task of converting the HTML for the button to the ImplLayoutButton method. 

 

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