I am trying to implement undo in an application. The problem is the user wants a granular undo like word or studio.
Here's the issue:
1. Bring up a record, and edit a field.
2. move to a new field and edit
3. delete the record
4. Now hit undo.
If I "undo" the delete using datarow.undo() or datarow.rejectc hanges(), it reverts to the original state and I lose the changes fromstep 1 and 2. The user wants to be able to undo JUST the delete, and then udo the field changes with subsequent undo's if desired.
All I really want to do is set the row from rowstate=delete d back to rowstate=modifi ed or unchanged. .net 2 has a setadded and setmodified, but these only work on rowstate=unchan ged.
Anybody have any ideas how to handle this?
From http://www.developmentnow.com/g/36_0...ges-csharp.htm
Posted via DevelopmentNow. com Groups
http://www.developmentnow.com