You cant set it, it is readonly property. You sould use if statement or select case statement to see what key was pressed (e.g. If e.KeyCode = Keys.Alt Then ...) and execute a code block.
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.