Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
F5 getting the wrong inkey() value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01455965
Message ID:
01456021
Vues:
62
Hi Sergey,

>You've correct code in nKeyCode variable. The LASTKEY() will be updated after .keypress() completes.

Are the any other conditions that must be fulfilled for this to happen? I'm asking, because I've never seen LASTKEY() have a different value in the KeyPress event that I would expect. It certainly doesn't when I copy and paste the code from the OP into a sample form. I get -4 for both variables.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform