MidItems.TWebListInput.ControlContent
Delphi
function ControlContent(Options: TWebContentOptions): string; override;
C++
virtual System::UnicodeString __fastcall ControlContent(Webcomp::TWebContentOptions* Options);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | MidItems.pas MidItems.hpp |
MidItems | TWebListInput |
Description
Returns the HTML that defines the display control (without its caption).
MidItems.TWebListInput.ControlContent inherits from MidItems.TWebDataDisplay.ControlContent. All content below this line refers to MidItems.TWebDataDisplay.ControlContent.
Returns the HTML that defines the display control (without its caption).
ControlContent is used internally to generate the HTML for the display control. This method does not generate any HTML for the control's label, which is handled separately by the FormatCaption method.
TWebDataDisplay introduces ControlContent as an abstract (pure virtual) method. Descendant classes override this method to generate the appropriate type of display component.
Options contains a set of flags that limit what can be included in the generated HTML.
ControlContent returns a string of HTML defining the display control.