Inconnu_nom
New member
- Joined
- Jan 18, 2005
- Messages
- 2
- Programming Experience
- 1-3
How can you set the keydown procedure in vb.net?
I need snggrav to be equal to -30 when up is pressed. am i on the right track? this is all the code i have pretaining to it
Private Sub Form1_Keydown(ByVal keycode As Integer, ByVal shift As Integer)
Select Case Keys.KeyCode
Case Keys.Up
snggrav = -30
End select
End sub
I need snggrav to be equal to -30 when up is pressed. am i on the right track? this is all the code i have pretaining to it
Private Sub Form1_Keydown(ByVal keycode As Integer, ByVal shift As Integer)
Select Case Keys.KeyCode
Case Keys.Up
snggrav = -30
End select
End sub