DunbarX 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...
Oddly enough, the dispatch command works well here (provided you're
using v3.5):
on keyDown var
dispatch "keydown" to this stack with var
put var
end keyDown
--
Richard Gaskin
Fourth World
Rev training and consulting: http://www.fourthworld.com
Webzine for Rev developers: http://www.revjournal.com
revJournal blog: http://revjournal.com/blog.irv
_______________________________________________
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