Hello....
Does anyone have any ideas on how to implement an undo option in my program. A revert is simple enough but this is the first time I have ever wanted to use undo to reverse changes made to a file.
Much thanks.
Printable View
Hello....
Does anyone have any ideas on how to implement an undo option in my program. A revert is simple enough but this is the first time I have ever wanted to use undo to reverse changes made to a file.
Much thanks.
undo options usually apply to an operation before a save typically by creating multiple objects of what it is you have there
frequently these undo's are cleared after a file save
so in your case it sounds reasonable to just make a backup file on load that can be restored programatically in an event