Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to center a title of variable length
Message
From
03/09/2001 15:28:02
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00551860
Message ID:
00551863
Views:
15
>Hello,
>
>how can I center a title in a report if the length of this title is variable ??

Create a field on the report that's wider than it needs to be. Now in the expression of that field, use PADC("Your Title Here",60) (using whatever variable contains your title and whatever width is appropriate).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform