Trapping multiple keystrokes

Kaveh Bazargan kaveh at rivervalleytechnologies.com
Fri Dec 1 12:52:33 EST 2017


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?

-- 
Kaveh Bazargan
Director
River Valley Technologies <http://rivervalleytechnologies.com/> • Twitter
<https://twitter.com/kaveh1000> • LinkedIn
<https://www.linkedin.com/in/bazargankaveh/>
Phone +44 7771 824 111



More information about the use-livecode mailing list