> Le 10 nov. 2019 à 19:07, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > I’d like to have a method set by ON EVENT CALL to live in a component. It > works, in that the method is called on each event, but the system variables > Modifiers and KeyCode are undefined so testing for the event itself is tricky. > > I can get round the absence of Modifiers by using Macintosh control down, but > I’m not sure how I get the keystroke that triggered the event. > > Is it possible?
Hi Jeremy, I had a similar problem with an ON ERROR CALL method, after a while I put that method back in the host :-( Maybe I missed something, like using an object reference in v17… -- Arnaud de Montard ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************