Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper case
Message
De
23/01/2001 14:10:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00467292
Message ID:
00467482
Vues:
11
>>>in the text field format we know that we use "!" symbol as upper case. Is there a symbol to use for proper case?
>>>
>>>Thanks in advance
>>
>>What about the PROPER() command?
>
>To do it interactively, in the textBox InteractiveChange:
>
>
>local lnStart, lnLenght
>
>lnStart		= this.SelStart
>lnLength	= this.SelLength
>
>this.value = proper( this.value )
>
>this.SelStart	= lnStart
>this.SelLength	= lnLength
>
>
>The SelStart thing is because every time you reassign the value, otherwise, the cursor gets again to the start of the field.

I rather like the effect of NOT setting the .SelStart & .SelLength properties myself. < g >
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform