How to Capitalize Some Characters in a Text Box Automatically (148918)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q148918 SUMMARY
When typing names into a text box, you can have the first letter of each
word automatically capitalized. This can be done in the KeyPress event by
checking each character that is typed and capitalizing it if it is the
first character entered or if the character before it is blank. Names such
as "Van Camp" would have the first letter of each part of the name
automatically capitalized. However, names like "MacDonald" would still
require that you manually capitalize the D key.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | kbcode KB148918 |
---|
|