Catch Key Down Event anywhere on Windows Form

  • Thread starter Thread starter Ben
  • Start date Start date
B

Ben

Hi

I would like to complete a task whenever F4 is pressed by the user anywhere
on a form.

The problem is the Key Down event does not fire for the form if the user is,
for example within a text box. Is there any method of doing this other than
adding the code to the key down event for all controls?

Thanks
B
 
Back
Top