KeyDown event is not fired

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I have a MDI app written in C#. I was wondering why the KeyDown, KeyPress, and KeyUp events are not fired, either in main or child form
Thanks

Michael
 
Try setting the KeyPreview property of the Forms to true.

Michael said:
Hi,
I have a MDI app written in C#. I was wondering why the KeyDown,
KeyPress, and KeyUp events are not fired, either in main or child form.
 

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