gettingstarted
[Top] [All Lists]

Re: Help please: How to undo?

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Help please: How to undo?
From: Arnaud Nicolet <arnaud at tribu dot ch>
Date: Thu, 1 Feb 2007 18:02:02 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <868086 dot 86516 dot qm at web60425 dot mail dot yahoo dot com>
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 the array. 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:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>