KeyDown event is not fired

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
 
E

Ed Kaim [MSFT]

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

Top