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.
 
Back
Top