|
-
Mar 31st, 2009, 04:51 PM
#1
Thread Starter
Member
[RESOLVED] Can't detect keypresses when a button is present
I've started building a small game where you move around a PictureBox control with keystrokes using the arrow keys. Everything was working fine....until I added a button.
Now the button steals the focus so that every time I hit an arrow key hoping to move my image, it just selects the button.
Is there any way to make the button selectable only by mouse click??
Thanks in advance for any help!!!
BTW - I'm using VB and VS2008.
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
|