RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebDataDisplay Class

TWebDataDisplay is the base class for Web items that create HTML display controls.

Pascal
TWebDataDisplay = class(TWebContainedComponent, IWebContent, IHTMLField);
C++
class TWebDataDisplay : public TWebContainedComponent, public IWebContent, public IHTMLField;

MidItems

Use TWebDataDisplay as a base class for components that generate HTML controls which display information in a WebSnap or InternetExpress application. TWebDataDisplay descendants generate the individual controls that are organized by TAdapterGrid or TAdapterFieldGroup.

Note: On Windows, additional descendants, TDataGrid, TFieldGroup, or TQueryFieldGroup, can be used to generate the individual controls.
TWebDataDisplay introduces the properties and methods for  

Generating a caption that describes the information displayed. 

Customizing the appearance of the control that displays information. 

Fitting the control into the tab order of the generated HTML form. 

Fitting the component into a hierarchy of Web items that collectively generate the content of an HTML document. 

In order to let other Web items to use the HTML control it generates, TWebDataDisplay implements the IWebContent interface. 

Do not create instances of TWebDataDisplay. TWebDataDisplay relies on an abstract (pure virtual) method for generating the display control. Instead, use a descendant of TWebDataDisplay that generates an HTML control of the desired type. 

 

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