On 12/1/17 11:52 AM, Kaveh Bazargan via use-livecode wrote:
I have a field with a number in it. when focused, I want the value to go up
and down with the up/down arrow keys. The trouble is that if I keep the key
down, it traps multiple keydown messages that continue after the key is
released.
How can I ensure that message are terminated as soon as arrow key is
released?
What handler are you using? I just did a test with rawKeyDown and
arrowKey and they all stop when I release the key. (Though arrowkey
seems to be ignoring left and right keys in LC 9 for some reason.)
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode