anonymous
2010-03-16 16:22:42 UTC
Private Sub Button1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button1.KeyDown
If e.KeyCode = Keys.Right Then
Button1.Location = New Point(Button1.Location.X + 2, Button1.Location.Y)
End If
End Sub
The arrow keys don't seem to work nor does the TAB key. All the letter keys and number keys seem to work, so I don't get what my problem is. I'm using a laptop if that matters.
Please tell me what I did wrong or if VB somehow just isn't agreeing with me please try and provide a solution.