Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress event madness...
Message
De
08/10/2003 09:35:52
Eric Sedlacek
TTSS Interactive Products
Rockville, Maryland, États-Unis
 
 
À
07/10/2003 18:06:48
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00835939
Message ID:
00836181
Vues:
9
Fortunately, a solution using the keypress event has been found. If it hadn't, I definitely would have tried this.

Thanks,
Eric

>>I'm not really sure how to do that accurately. KEYBOARD adds to the existing keyboard buffer which may already have additional characters ahead of it. Problematic.
>
>I have yet to encounter a "real" situation where there is more than one character in the keyboard buffer (short of a user "leaning" on the keyboard).
>
>I'd go with:
>
>
>DO CASE
>CASE THISFORM.lTranslating
>   THISFORM.lTranslating = .F
>CASE nKeyCode = 97
>   THISFORM.lTranslating = .T.
>   NODEFAULT
>   KEYBOARD CHR( 98 ) CLEAR
>etc.
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform