2 more questions about operations on text in fields
thierry.arbellot at wanadoo.fr
Mon Aug 2 12:54:29 EDT 2004
I did a test with the handler in a stack's script and got the same
But the special characters are properly passed in the keyDown message,
also if the keyUp message is in a field script.
Have you check the deleteKey and backspaceKey messages ?
On Monday, Aug 2, 2004, at 18:35 Europe/Paris, jbv wrote:
> 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...
>> 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),
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode