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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top