Select field

Jeanne A. E. DeVoto revolution at jaedworks.com
Fri Aug 12 12:31:45 EDT 2005


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



More information about the use-livecode mailing list