-
June 8th, 2011, 04:45 PM
#1
Detect Keyboard Input
Hello Guys
I am new to programming and the demands of my code are fairly simple I think.
But since I have close to zero experience, I don't know where to start.
I have one form with say 10 buttons.
Whenever the form loads, I want it to wait for a key on the keyboard to be presses.
Lets say any number 0-9
Depending on which number I pressed,
It simulates a click on the corresponding button.
So in short
1.Form loads
2.Detect key input
3.Execute button click depending on key input.
e.g. --> press button 1 if "1" is pressed..and so on..
Can someone please help me ?
Thanks in advance.
Tags for this Thread
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
|