|
-
Jun 17th, 2000, 09:13 AM
#1
Thread Starter
Junior Member
Why doesn't this work???????
i'm trying to get picture1 to move around the screen using the keyboard!!
Private Sub Form_KeyPress(KeyAscii As Integer)
If KeyAscii = Chr(104) Then Picture1.Left = Picture1.Left + 100
If KeyAscii = Chr(107) Then Picture1.Left = Picture1.Left - 100
If KeyAscii = Chr(117) Then Picture1.Top = Picture1.Top + 100
If KeyAscii = Chr(109) Then Picture1.Top = Picture1.Top - 100
End Sub
Thanx
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
|