CommandKeyDown in a library script?
dunbarx at aol.com
dunbarx at aol.com
Tue Jul 15 23:51:08 EDT 2014
Graham.
It should. It always has for me.
Is the handler in the library stack in the stack script? It has to be, unless you send it explicity to a card or control on that stack. Are you sure you are not trapping it anywhere in the main stack? Or if you are, are you sure you are passing the message?
Craig
-----Original Message-----
From: Graham Samuel <livfoss at mac.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Tue, Jul 15, 2014 1:51 pm
Subject: CommandKeyDown in a library script?
When I create a new mainstack and put a commandKeyDown handler in it, the
handler fires when I press the relevant key. When I put the same code in a
library stack, which is used via a "start using" command at initialisation, it
doesn't seem to fire. Can anyone say why?
TIA
Graham
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list