RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLayoutWebContent.ImplLayoutButton Method

Provides the underlying implementation for the LayoutButton method.

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

The LayoutButton method calls ImplLayoutButton 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. 

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!