VB.Net Help

Associate
Joined
18 Oct 2002
Posts
2,161
Location
Here!
Does anyone know how I can change a control to be visible when a certain key is pressed? The key I wanted to use was Insert but if that isn't possible no worries.

Thanks in advance.
 
Use the keyup event on the form

Detect if the keycode is equal to keys.Ins

If it is, make the control you want to be invisible er, invisible.
 
Back
Top Bottom