>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