|
-
Jun 2nd, 2002, 07:16 AM
#1
Thread Starter
Member
Arrow Key's
im using this code here:
Private Sub form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 37 Then
picArrow.Move picArrow.Left - 50
End If
If KeyCode = 39 Then
picArrow.Move picArrow.Left + 50
End If
If KeyCode = 40 Then
picArrow.Move picArrow.Left, picArrow.Top + 50
End If
If KeyCode = 38 Then
picArrow.Move picArrow.Left, picArrow.Top - 50
End If
End Sub
and my picturbox (picArrow) doesnt move at all, ive tryed many different kinds of codes, all i want it to do is move the picArrow, help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|