Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Centering text
Message
From
30/12/2003 15:44:20
 
 
To
30/12/2003 14:49:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00862937
Message ID:
00862953
Views:
11
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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform