Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force upper case on first letter
Message
From
31/03/2005 05:39:13
 
 
To
30/03/2005 11:37:49
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00999960
Message ID:
01000217
Views:
11
Besides the methods mentioned, you could always do a:

This.value = PROPER( this.value)

in the .Valid() of the field.

Thus, no matter how the user puts in the value, when he leaves it will be in proper case.

>Is there a way to make sure that the user enters an upper case character in the first position of a textbox?
>
>I usually use !K in the format property. But in this case I want the user to enter the info as they want except for the first character.
>
>Thanks,
>
>Jerry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform