In order to be able to effect an "undo", you have to keep a history stack of the recent operations performed by your app.

When someone pushes the "Undo" button, your app has to figure out what the most recent operation was, and how to restore the state of the app to that which just preceded that operation.

It really depends on what your app is doing, whether that works out to be simple and easy, or really difficult.

Russ

On Dec 22, 2005, at 9:26 PM, Lennox Jacob wrote:

Hello,
What is the code for the action event of a pushbutton for "Undoing" the last task/keystroke/change"?
Thanks.
Lennox
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to