Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit Box
Message
De
01/12/2000 12:31:34
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
01/12/2000 12:21:45
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00448162
Message ID:
00448168
Vues:
15
>Is there a way to make text entered into an edit box automatically uppercase? I have tried the ! in the format property but it dosen't work.


Try this as the KeyPress event for the edit box.

LPARAMETERS nKeyCode, nShiftAltCtrl

nKeycode = ASC( UPPER( CHR( nKeycode)))
NODEFAULT
DODEFAULT( nKeyCode, nShiftAltCtrl)
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform