MikeKerner at roadrunner.com
Fri May 21 09:23:13 EDT 2021
I _think_ that there might also be an undo manager built into levure, if
you are interested.
On Fri, May 21, 2021 at 9:20 AM Klaus major-k via use-livecode <
use-livecode at lists.runrev.com> wrote:
> Hi Craig,
> > Am 21.05.2021 um 15:12 schrieb Craig Newman via use-livecode <
> use-livecode at lists.runrev.com>:
> > Klaus.
> > What are you doing here on the dark side??
> Oh, come on!
> > Do you mean something like this, with a field and a button? in the card
> > on textChanged
> > set the currentText of this cd to fld 1
> > end textChanged
> > on undoText
> > get the currentText of this cd
> > delete the last word of it
> > set the text of fld 1 to it
> > set the currentText of this cd to it
> > end undoText
> > and in the button:
> > on mouseUp
> > undoText
> > end mouseUp
> OK, something like this, but for graphics, images etc., too. 8-)
> Some general hints will be OK.
> Except for TEXT I don't have a clue yet.
> Maybe store "the properties of xyz" and re-apply them when the user hits
> > Craig
> >> On May 21, 2021, at 7:48 AM, Klaus major-k via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >> Hi friends,
> >> any hints on how to implement some UNDO mechanism into a LC standalone?
> >> The stack(s) in question will not only handle TEXT...
> Klaus Major
> klaus at major-k.de
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
More information about the use-livecode