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?
Jim Newsom
IT Director, ICG Inc.