Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to justify text lines
Message
From
20/01/2005 17:48:19
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00978745
Message ID:
00979115
Views:
18
Not ideal, but interesting. I already have over 100 fields in page getting names from an array. If there is no other way I'll do it, but it's cluttered and probably error prone.

Thanks.

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
Reply
Map
View

Click here to load this message in the networking platform