RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLButton Class

TXMLButton is the base class for Web items that create HTML buttons that perform some action with the XML data packet.

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

MidItems

Use TXMLButton as a base class for components that generate the HTML statements defining a specialized button control for manipulating an XML data packet. TXMLButton defines properties and methods for  

Generating the HTML code to define the button control. 

Associating the button with an XML broker that fetches the XML data packet and responds to update messages. 

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, TXMLButton inherits support for the IWebContent interface from TWebButton

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

 

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