>Hi all.
>I would like to make undo and redo action in a grid to edit a table. This procedure is similar redo and undo button of MS Word. Please give me some ideas to do that.
>Thanks.
>Canh
The simplest idea which comes to mind is to have a textbox with two properties: uCurValue and uPrevValue. In the GotFocus you would do
this.uPrevValue = this.value
and in InteractiveChange you would update uCurValue. Then you can code Redo/Undo buttons.
If it's not broken, fix it until it is.
My Blog