Select the form:
Set the KeyPreview property of the form to true so that keyboard messages are received by the form before they reach any controls on the form.
Select the form:
Set the KeyPreview property of the form to true so that keyboard messages are received by the form before they reach any controls on the form.