RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterEditColumn.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 display control and its label. ImplContent formats the caption and combines this HTML with the results of the ControlContent method. ControlContent is an abstract (pure virtual) method in TWebDataDisplay. TWebDataDisplay descendants override it to generate the definition of their particular display 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 TWebDataDisplay should format the HTML control it generates. It implements the ILayoutWebContent interface. 

ImplContent returns a string of HTML defining the display control. 

 

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