Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box Requirement
Message
De
24/07/2001 16:42:36
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
24/07/2001 16:40:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00534638
Message ID:
00534656
Vues:
12
>Nancy,
>
>Thanks. I got it working by putting this code in the keypress method:
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>
>do case
> case nKeyCode = 9 or nKeyCode = 13 or nKeyCode = -3
> * 9 = Tab 13 = Enter -3 = F4
>
> otherwise
> nodefault
>endcase
>
>And putting KEYBOARD '{F4}' in the when method.

Cool. Though, if you want my opinion, in the GotFocus is more logical. Not really critical, but would probably suprise the heck out of someone to find it there. :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform