Select field

Jason Vickers jvickers2002 at hotmail.com
Fri Aug 12 19:20:43 EDT 2005


Jeanne,

Thanks so much.  It works perfectly.

Jason


----- Original Message ----- 
From: "Jeanne A. E. DeVoto" <revolution at jaedworks.com>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Saturday, August 13, 2005 12:31 AM
Subject: Re: Select field


> At 12:02 AM +0800 8/13/2005, Jason Vickers wrote:
>>I have a field (let's call it "question").  The field has something like 
>>"click here to type" in it.  All I want to do is have the user left click 
>>there, the current text be deleted, and the cursor remain in the field so 
>>he/she can type.
>
> Here's one:
>
> on openField
>   set the text of me to empty
>   select the text of me -- since there's no text, this places the 
> insertion point
> end openField
> -- 
> jeanne a. e. devoto ~ revolution at jaedworks.com
> http://www.jaedworks.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



More information about the use-livecode mailing list