Stopping the User from Adding/Removing Lines to a field

Igor Couto igor at pixelmedia.com.au
Sat Jun 28 23:46:00 EDT 2003


Dear Scott,

On Sunday, June 29, 2003, at 01:51  PM, Scott Slaugh wrote:

> You could also set up some handlers in the field to trap the keys.  
> Make it so that when the user clicks on the field, the locktext of the 
> field is set to false, so they can type in it.  Then put a handler in 
> the field for each command you want to trap, such as the arrowkey.  
> Put something like this:
> on arrowkey
> if the locktext of me is true then pass arrowkey
> end arrowkey
>

Thank you for your suggestion - this is exactly what I'm trying to do 
right now. Your (and Valetia's) suggestions have put me on the right 
track!

Many, many thanks, and

Kind Regards,

--
Igor
----------------------------------
igor at pixelmedia.com.au
----------------------------------




More information about the use-livecode mailing list