|
-
Nov 16th, 1999, 05:59 AM
#1
Thread Starter
New Member
I used a Select Case statement to implement some code in the KeyPress Event of a form. However, for some reason the event is never triggered. For example if you press the left arrow button (one of the constants in the select case statement), the focus shifts to an option button on the form. How can I fix this problem?
-
Nov 16th, 1999, 06:00 AM
#2
Fanatic Member
Try to put your code in KeyDown or KeyUp
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
-
Nov 16th, 1999, 06:04 AM
#3
Hyperactive Member
Also, try setting the form's KeyPreview property to True.
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470 Add Me ICQ Me
AIM: TomY10
PERL, JavaScript and VB Programmer
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
|