RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLDisplayReferenceButton Class

TXMLDisplayReferenceButton is the base class for Web items that generate HTML buttons for influencing controls that display data.

Pascal
TXMLDisplayReferenceButton = class(TWebButton);
C++
class TXMLDisplayReferenceButton : public TWebButton;

MidItems

Use TXMLDisplayReferenceButton as a base class for components that generate the HTML statements defining a specialized button control for working with a data display control in the Web page produced by TInetXPageProducer. 

TXMLDisplayReferenceButton defines properties and methods for  

Generating the HTML code to define the button. 

Associating the button with another Web item that generates a data display control. 

Specifying tag attributes of the HTML button control, including those defined by a style sheet. 

Fitting the component into a hierarchy of Web items, each of which generates part of a larger HTML document. 

In order to allow other Web items to use the HTML generated by the button control, TXMLDisplayReferenceButton inherits support for the IWebContent interface from TWebButton

Do not create instances of TXMLDisplayReferenceButton. TXMLDisplayReferenceButton relies on anabstract or, in C++ terminology, pure virtual method to generate the HTML statements defining a button control. Instead, create descendants of TXMLDisplayReferenceButton, such as TPostButton, TInsertButton, and so on. 

 

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