Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trap F2 key on keypress event
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00808782
Message ID:
00808811
Vues:
21
I am using VFP 6.0 and Windows 2000.

?inkey(0) in the command window returns -1


This code in the keypress event of a text box displays the wait window when I tap F2.
LPARAMETERS nKeyCode, nShiftAltCtrl

IF nKeyCode = -1
    WAIT WINDOW NOWAIT "F2 key"
ENDIF
>How can trap the f2 key on the keypress event? I not get any value, on keypress f3 I get -3
Dennis Lindeman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform