Information générale
Catégorie:
Codage, syntaxe et commandes
>Try: txtBox = StrConv(txtBox, vbProperCase)
>
>HTH
>
>>I need to format entered text data with every word starting with a capital letter. (VFP's PROPER() function).
>>
>>Is there a VB function/property/control...?
Thanks for that - I 've not seen any reference to vbProperCase before, though I did a search of Help for Proper. There is a real problem, moving to a new language, in getting a full coverage of it.
Since I posted my request I have implemented a solution, in the KeyPress event, forcing the first character and the first character after a blank, into upper case. It works OK.
Andrew
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement