|
-
Nov 3rd, 1999, 10:53 AM
#1
Thread Starter
Junior Member
I can't seem to get the Key Down to work. Whenever a specific key is pressed it does not do anything. And example is when I put this
If KeyCode = 102 Then
Picture1.left = Picture1.left + 10
Else
End If
I place this in the Form_Load section
-
Nov 3rd, 1999, 11:02 AM
#2
Hyperactive Member
Try setting the form's KeyPreview property to true.
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470
AIM: TomY10
PERL, JavaScript and VB Programmer
-
Nov 3rd, 1999, 11:06 AM
#3
Fanatic Member
Do what Compwiz said and also place this code in Form's KeyDown event.
It seems to work for me.
QWERTY
-
Nov 3rd, 1999, 11:08 AM
#4
Hyperactive Member
Oh yeah... forgot that part too. Thanx QWERTY.
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
|