> On Dec 15, 2013, at 8:19, Ricardo Aráoz <[email protected]> wrote: > > El 15/12/2013 10:36, Ricardo Aráoz escribió: >> >> Done. It works!!! >> So what are the options you wish to explore. > > There's something strange going on with events in windows. > I am binding a dButton's KeyUp event. It would seem that the KeyUp event gets > fired when the button GETS focus and the event key is the key pressed in the > previous control (usually a Tab). In linux works as expected and the KeyUp > event will fire for keys pressed when the button has got focus (usually Tab > or shift+Tab), which allows me to keep track of what the user is pretending > to do when leaving the control. >
Each platform has it's own event model. On windows as you've found the order tends to be something like: user clicks tab key down for tab got focus on new control key up on new control lost focus on old control But also, nothing guarantees a particular order. There's also navigation key events to bind to. Maybe that will work better generically. Paul > I'm not starting a new thread on this because I think it might be related > with what we are deling with right now. > it's different actually > > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > _______________________________________________ > Post Messages to: [email protected] > Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users > Searchable Archives: http://leafe.com/archives/search/dabo-users > This message: http://leafe.com/archives/byMID/[email protected] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
