I had not set KeyPreview to true, but I have now and it didn't change anything. It appears that if the control on the form does not handle keyboard events the keyboard events are not passed to the form.
>Have you set the form's KeyPreview property to True?
>
>>I can't figure this out. I have a form with a control that is docked to fill. The control does not support keypress (or any key input it seems). I want to capture when a key is pressed, but the form's KeyPressed event doesn't fire. I am sure there is an easy answer but I can't figure it out.
>>
>>Thanks,
>>Einar
Semper ubi sub ubi.