-
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?
-
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.
-
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