2 more questions about operations on text in fields

jbv jbv.silences at Club-Internet.fr
Mon Aug 2 11:35:58 CDT 2004


OK, I've found a single solution for the 2 problems,
simply by using
    send "check_my_field" to me in 0.1 seconds

and starting to check the content of the fld as soon as it
gets the focus, and stopping when that fld looses focus...

It works, but I was wondering if there was any more
elegant (less "brute force") solution...

JB


> Question #1 :
> I'm on Mac (french kbd), and strangely the following
> script :
>
> on keyup which
>     put which
> end keyup
>
> doesn't catch french characters with accents (é à etc)...
> is there any settings to catch those keys ?
>
> ---------
>
> Question #2 :
> is there any equivalent to the "returninfield" message
> to catch the use of the delete key on parts of text
> contained in a field (in order to quickly know what's
> left in the field once users have used the delete key, but
> while the field still has the focus) ?
>
> Thanks in advance (again),
> JB
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list