Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit Box
Message
From
01/12/2000 12:31:34
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
01/12/2000 12:21:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00448162
Message ID:
00448168
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform