RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDeleteButton Class

TDeleteButton generates an HTML control that deletes a record from an XML data packet.

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

MidItems

Add TDeleteButton 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 delete records. The resulting HTML button's action adds the record deletion to the emerging delta packet, which can then be submitted using an apply updates button. 

Use the properties of TDeleteButton to customize the appearance of the button and associate it with a Web item. The associated Web item displays the records that the delete button can delete. 

 

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