Undo

  • Thread starter Thread starter Eric Dreksler
  • Start date Start date
E

Eric Dreksler

Hi,

Similar to my last post on drag-and-drop, does anyone know of any good
resources on how to create a good Undo implementation for an application.
I've been wanting to include this feature in my apps, but haven't been able
to find any good info on good ways to implement this kind of feature in a
program.

Thanks in advance,
Eric Dreksler
 
Eric said:
Similar to my last post on drag-and-drop, does anyone know of any good
resources on how to create a good Undo implementation for an application.
I've been wanting to include this feature in my apps, but haven't been able
to find any good info on good ways to implement this kind of feature in a
program.

Some pointer: how about a collection filled with a simple structure
containing an undo-description (String) and a delegate to a function
which undoes a chosen function?

There is no 'general' way of doing this.
 
* "Eric Dreksler said:
Similar to my last post on drag-and-drop, does anyone know of any good
resources on how to create a good Undo implementation for an application.
I've been wanting to include this feature in my apps, but haven't been able
to find any good info on good ways to implement this kind of feature in a
program.

What exactly do you want to "undo"?
 
Back
Top