RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TUndoButton Class

TUndoButton generates an HTML control that backs out changes to the current record.

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

MidItems

Add TUndoButton 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 undo edits made in an associated display control or controls. The resulting HTML button's action backs out all edits to the current record. 

Use the properties of TUndoButton to customize the appearance of the button and associate it with a Web item that generates the display controls. 

 

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