Press key

I have a win form, there are some controls. I want to handle all keypress events in the keypress event of a form. Is it possible without pressing a key for all controls?

0


source to share


1 answer


Setting the KeyPreview property of the form to True should enable this.



+2


source







All Articles