Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting In Title Case?
Message
De
04/06/1998 10:21:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00104535
Message ID:
00104721
Vues:
24
>>Maybe. The example in the VFP Help file does what I want (converts to title case or "proper name" case), but I can't figure out where to use it. I tried using it with "this.value" in my init of a TextBox but that didn't work. I think there is a way to use the PROPER() function to do what I want but I haven't figured it out yet. Any suggestions?
>
>Depends what you're doing...you could use the gotfocus, or a page/form activate, for example...text.value = proper(text.value), basically...

What I would like is to have all (or most ) of my TextBoxes and GridColumns to display and store data in "Titlecase" (1st letter of each word capitalized) regardless of how the user enters the data from the keyboard. For example I have a field for LastName, in the Format section of the table designer I use "!" and all the LastName's appear in UPPERCASE. I would like to do the same for other fields but instead of using UPPERCASE I want to use "Titlecase".

TIA
--lincoln
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform