suppose you have a btn1 on form
and you want to use this button in multiple ways so if shift key is pressed and you click on that button it will open form2 else open form1
to do That :
1- Enable Key Preview in Form
2- declare An integer to the form ( dim ShiftPressed as Integer)
3 - Add...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.