Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ESC Key.......
Message
De
21/10/1999 12:16:24
 
 
À
21/10/1999 11:45:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00279382
Message ID:
00279420
Vues:
9
>How do i clear the keyboard Buffer.
>the following commands do not function :
> Clear TYPEAHEAD
> Keyboard '{27}' Clear && 27 - Esc key
>
>Please help.Want to erase 27 from buffer.....

You don't state your situation or reason for this, but can't you just test in the KeyPress event for Esc and take appropriate action, such as NODEFAULT?
IF nKeyCode = 27  && Esc
    NODEFAULT
    && More code
ENDIF
Or in some other scenario could you test for LASTKEY() and take action?
IF LASTKEY() = 27  && Esc
    && Code
ENDIF
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform