RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TApplyUpdatesButton.ImplContent Method

Provides the underlying implementation for the Content method.

Pascal
function ImplContent(Options: TWebContentOptions; ParentLayout: TLayout): string; override;
C++
virtual __fastcall AnsiString ImplContent(TWebContentOptions Options, TLayout ParentLayout);

The Content method calls ImplContent to generate the HTML that defines the button control. TWebButton introduces ImplContent as an abstract or, in C++ terminology, pure virtual method. TWebButton descendants must override ImplContent to generate the definition of their particular button control. 

Options contains a set of flags that limit what can be included in the generated HTML. 

ParentLayout specifies a helper object that the caller supplies for determining how the Web button should format the HTML control it generates. It implements the ILayoutWebContent interface. 

ImplContent returns a string of HTML defining the button control. 

 

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