RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInsertButton Class

TInsertButton generates an HTML control that inserts a new record in an XML data packet.

Pascal
TInsertButton = class(TDataSetButton);
C++
class TInsertButton : public TDataSetButton;

MidItems

Add TInsertButton as the child of a TDataNavigator component (or a layout group that is a child of a TDataNavigator component) to enable the generated HTML form to add records to an XML data packet. The resulting HTML button's action adds a new blank record to the emerging XML delta packet and causes the associated display control to display that new record. 

Use the properties of TInsertButton to customize the appearance of the button and associate it with a Web item. The associated Web item generates the HTML control that displays the newly inserted record. 

 

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