Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to justify text lines
Message
From
23/01/2005 13:53:57
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00978745
Message ID:
00979831
Views:
9
Thank you. Works fine.

Alex

>You may try to do it in a different way similar to a table of context discussed by Cathy Pountney in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen9/html/VFP9Reports2.asp. Create three separate report fileds: Name, dots field with expression REPLICATE(".", < whatever >) and Phone #. Sent to Back dots field so it's covered by 2 other fields.
>
>>
>>I need to justify a string in a way similar to a phonebook. Name goes on left side and telephone number goes on the right. Spaces or perhaps "..." go in the middle. The parameters are: textbox width in inches, as indicated by property sheet of reporter, fontname, and fontsize.
>>
>>I've used this code, but it doesn't work.
>>
><snip>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform