Hi,
If you set the forms keypreview property to true the form will get
the keydown before the textbox.
http://msdn2.microsoft.com/en-us/lib...eypreview.aspx
Ken
--------------------------
"Ben" wrote:
> 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
>
>
>