Capturing keys with the keyUp event

  • Thread starter Thread starter JPSutor
  • Start date Start date
J

JPSutor

I need to capture multiple keys with the keyUp event (Ex. Tab + 7)
I can captuee individual keys by I'm not sure how to caputre multiple
keys
 
Unfortunately the tab key is not a modifier like Alt, Controle, ... To check
modifiers check if e.Control or e.Shift or e.Alt is true or use the
e.Modifiers property to check wether modifiers were pressed.

What you can do is use flags that you can set when a Tab is pressed and
unpressed but life is so much easier when you use modifiers ;)

Gabriel Lozano-Morán
 
Back
Top