Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force upper case on first letter
Message
De
31/03/2005 05:39:13
 
 
À
30/03/2005 11:37:49
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00999960
Message ID:
01000217
Vues:
12
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform