RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ILayoutWebContent.LayoutButton Method

Converts the HTML declaring a button into a form the Web item's parent 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 required by the Web item's parent. 

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

LayoutButton returns the HTML for the button 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!