>>>
>>>Any ideas?
>>
>>You can also use the InputMask property.
>
>How can you use inputmask to upcase text input?
Well, you wouldn't.
To allow only Uppercase characters from A-Z and convert a-z to A-Z, I would use ! in the format property and a do case in the keypress to do a NODEFAULT if anything is pressed other than a character. If I wanted escape, return and tab functionality I would trap for that higher in the case logic. If that didn't work I would consider parsing the input in the valid event of the textbox and check for isalpha() then do a this.value = upper(this.value). If that didn't work I would not use format or input masks and trap everything in the keypress event and not allow anything but A-Z.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California