Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress event madness...
Message
De
08/10/2003 15:22:17
 
 
À
08/10/2003 09:34:36
Eric Sedlacek
TTSS Interactive Products
Rockville, Maryland, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00835939
Message ID:
00836426
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform