Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
STR() not lining up.
Message
From
30/10/1997 12:24:11
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00057413
Message ID:
00057432
Views:
37
>>>>I am DEFINEing a POPUP based on STR(Projnum,3)+" "+Projdesc. The Projnum's are not right-justified together making the list look sloppy.
>>>>
>>>>ie. 3 Desc1 should look like 3 Desc1
>>>> 13 Desc2 13 Desc2
>>>> 123 Desc3 123 Desc3
>>>>
>>>>How do I correct this?
>>
>>Excuse me for empty reply, first! You could use proportional font ("Courier New") to get things aligned.
>
>Thanks Ed. I forgot about the propotional/non-proportional issues. Is there a of determining what fonts are proportional and which ones aren't?

IMHO, it's enough to remember that "Courier New" is proportional. I don't know about particular function/property, but you could use FONTMETRIC or TXTWIDTH to make some analysis here.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform