Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit Box
Message
 
To
01/12/2000 12:21:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00448162
Message ID:
00448169
Views:
16
>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.


Yes, for editboxes you can only set it to select on entry.
Placing this code in your keypress method will work.
LPARAMETERS nKeyCode, nShiftAltCtrl
DODEFAULT(ASC(UPPER(CHR(nKeyCode))),nShiftAltCtrl)
nodefault
Previous
Reply
Map
View

Click here to load this message in the networking platform