Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking to see if command is being executed..
Message
De
16/06/1999 14:49:28
 
 
À
16/06/1999 14:44:56
Frank Cavone
Monetary Management of Ny, Inc.
Albany, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00230549
Message ID:
00230579
Vues:
23
That's because LastKey() doesn't change until you type something. Try this to clear the value from LastKey():
IF LastKey() = 27
   KEYBOARD CHR(255)
   INKEY()  && eat the character we just keyboarded
   RETURN .T.
ENDIF
HTH

>thanks. i tried it and it works, but if i click elsewhere on the form it bypasses the validity check on the text box, maybe i put it in the wrong spot?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform