Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing KeyPress value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00046080
Message ID:
00046124
Vues:
26
>In a text object's KeyPress event, how do I change the value of the keycode before it gets placed in the objects value?
>
>Thanks in advance,
>Mike

This was what we received from the same type question before when we wanted to change case of
a character in a text object to upper, HIH:


The code in the keypress event becomes;

IF nKeyCode >= 97 and nKeyCode <= 122
NODEFAULT
KEYBOARD UPPER(CHR(nKeyCode))
ENDIF
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform