Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27448

VS 2010 How to add Keydown under all circumstances

$
0
0
In order for me to avoid writing the
Code:

If e.keycode = keys.control + keys.B then me.show()
and writing that under ever keydown event. May I just have it under form.activated or how can it work whenever the form is activated on the screen. I know we show put it under the Form1.Activated but how will I do that. e.keycode isnt valid under that field then what is thanks so much D:

Viewing all articles
Browse latest Browse all 27448

Trending Articles



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