Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress event madness...
Message
From
08/10/2003 15:22:17
 
 
To
08/10/2003 09:34:36
Eric Sedlacek
TTSS Interactive Products
Rockville, Maryland, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00835939
Message ID:
00836426
Views:
8
Works for me in the object itself or in a class. < shrug >


>Yes, it does. But for me, it only works if I put the code in the class keypress event. If I put it in the object itself, like I was doing before, it doesn't work. Interesting.
>
>That's okay. I wanted a class for this eventually anyway...
>
>Thanks
>Eric
>
>>Eric,
>>This seems to work
>>Lparameters nKeyCode, nShiftAltCtrl
>>DO CASE
>>	Case nKeyCode=97
>>		nKeyCode=98
>>	Case nKeyCode=100
>>		nKeyCode=101
>>EndCase
>>DoDefault(nKeyCode, nShiftAltCtrl)
>>NoDefault
>>
>>HTH
>>cj
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform