Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Form KeyPress event

$
0
0
Hello guys. I have a simple form and I have activated KeyPress event. Everything it's ok. But when I put a button on the Form, and I run it, if I press any key the KeyPress event will not work anymore... On my form I see that my button is selected ( if I press space it's like I click on the button ). How can I deselect the button...? Cuz if I press on the form and then I type something, it still doesn't works...

Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>