First--------
Since the handler is in a field script, it is not in the message hierarchy when the SEND is executed, thus 'can't find handler'
There is no keydown handler in the stack script.

Second-------
If you made a change and did this
   send ("keydown" && var) to ME
which means the script container...
you would be creating an infinite loop and get
I get an error of "Recursion limit reached" if no time interval is specified

Third---------
Try this to see the loop that never stops

on keyDown var
   if the optionkey is down then exit to top

   send ("keydown" && var) to ME in 1 second
   get  "keydown" &&  var && "to this stack"
   put IT && the ticks
end keyDown



Hope this helps,

Jim Ault
Las Vegas

On Oct 21, 2009, at 2:43 PM, [email protected] wrote:

Just when I was thinking I had the differences between HC and Rev down, I
stumble.

I have an editable field with this handler:

on keyDown var
  send "keydown" && var to this stack
  put var
end keyDown

In HC, any text I type gets placed into the field, so typing works
normally, but then I can do stuff with the last char, like put it into the msg box.
Actually, in HC, I say "to Hypercard", but it makes no difference.

But in Rev I get an error message stating that Rev "can't find handler near
"keyDown".

Can't wait to see where this divergence between the two lies...

Thanks,

Craig Newman
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Jim Ault
[email protected]



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to