Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox format code problem
Message
 
To
05/04/2001 10:59:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00492353
Message ID:
00492395
Views:
15
>If you put a '!' in the format code for a textbox, it is supposed to convert all text input into upper case. This works fine, except that if the user hits a non-text key, such as F5, then the textbox gets an unprintable char showing up in the box. The F key is part of my applications functionality, and in the keypress method, I have NODEFAULT in the case statement that handles it. The funny char still shows up in the text box, though. I had to take the format code out, and set CAPSLOCK = .T. in the gotfocus method, which does not work as well for me.
>
>Any ideas?

You can also use the InputMask property.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform