Capturing Function keys in form

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

I turned on the KeyPressPreview property = true for the form, but the
KeyPress event doesn't raise when I press a Function key. How do I solve
this?
 
Hello,

Alex said:
I turned on the KeyPressPreview property = true for
the form, but the KeyPress event doesn't raise when I
press a Function key. How do I solve this?

Use the 'KeyDown' or 'KeyUp' event instead.
 
Back
Top