Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting In Title Case?
Message
From
04/06/1998 10:21:39
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00104535
Message ID:
00104721
Views:
25
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform