Key Press Question

  • Thread starter Thread starter MichaelK
  • Start date Start date
M

MichaelK

How to catch the Enter or Down arrow keys press events in the On Key Press.
It's not catching them.

Regards,
Michael
 
Use the KeyDown event.

KeyPress is for trapping alphanumeric keystrokes, not the whole keyboard.

BTW, there is an EnterKeyBehavior property that affects how the Enter key
behaves.
 

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