Trapping multiple keystrokes

Paul Dupuis paul at researchware.com
Fri Dec 1 13:00:29 EST 2017


On 12/1/2017 12:52 PM, 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?
>
look at the dictionary entries for 'the pendingMessages' and the
'cancel' command





More information about the Use-livecode mailing list