Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centering text
Message
 
 
À
30/12/2003 14:49:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00862937
Message ID:
00862953
Vues:
9
Hi, John.

>I used mystr = transform(mystr,"@J ##########") in the past.
>This used to center the mystr within 10 spaces as in
>" 12 "
>
>But in VFP 7 this does not appear to work. So how do you center text within ten space variable?
>
>I want:
>" 12 " but getting
>" 12"
mystr = padc( alltrim( mystr ), 10 )
Happy new year!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform