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: Lennox Jacob <lenpartico at yahoo dot com>
Date: Thu, 1 Feb 2007 04:24:40 -0800 (PST)
Delivered-to: listarchive at realsoftware dot com
Delivered-to: gettingstarted at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=e5Mu6axHGAU0vjN7sUI95pwR0PFEialukRfkrf4QLs24+LGtiUEwkyFscw+A20wYb78uW49y2+jrsQOejIy6zBakrWwYEpaPZIjIZaKhOFDWZKX1BBrl58UubKrritvMWIceETGYeaClkwLgXa52y3W4bteyj5YP41I7wPyYM7A=;
Thanks as usual Arnaud,
At least this is a good starting point.
Lennox.

Arnaud Nicolet <arnaud at tribu dot ch> wrote: You'll have to remember the text 
at a certain point.

Make a property in your window, for example: MyLastText As String

Then, for the example, put this code in the open event (when the text  
you want as the default is in the edit field):

MyLastText=me.text

In your push button, write EF1.text=MyLastText (assuming your  
editfield is named EF1).

Hope this help

Le 1 févr. 07 à 01:39 Matin, Lennox Jacob a écrit:

> Hello,
> I have an editfield with some text in it. Then I change (select  
> then Enter) some of the text. I now want to Undo that.
> I have a pushbutton named Undo, what do I put in  Undo pushbutton's  
> action event?
> Thanks.
> Lennox

_______________________________________________
Unsubscribe or switch delivery mode:


Search the archives of this list here:



 
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.
_______________________________________________
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>