Le 1 févr. 07 à 17:12 Soir, Lennox Jacob a écrit:
OK, what happens here is that I do not know how to do undo multiple
times (any advice?).
You will have to have an array instead of a simple variable.
Like MyTexts() As String
Then, every time you want to remember the text, you add the text to
When you want to make the undo, you set the text back to the last
item of your array. You then remove it (so further undos works as well).
You may try in that way (remember that you can always try with a
small (and unsaved project) to make tests that behaves as you want).
So, I use got focus to remember the text before I do further
changes. Then, if I make some more changes (and once I do not lose
focus), Undo will take me back to the point before i got focus.
If it's good for you, then that's fine.
Hope this helps.
Unsubscribe or switch delivery mode:
Search the archives of this list here: