On Sat, Oct 22, 2016 at 12:01 AM, truegold <[email protected]> wrote:

> I need it to be available anytime the mouse is over the digram. Then it
> should only activate, ideally, if I click and hold the spacebar down.
>

What I do is having event handler installed all the time. Event handler
stores last key pressed and when I need it, I poll stored value.

Note that even in ON EVENT CALL you just get key pressed event, not key
down  / key up events. You will not know if space bar is still pressed. Or
so I believe.

-- 

Peter Bozek
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to