Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STR() not lining up.
Message
De
30/10/1997 12:24:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00057413
Message ID:
00057432
Vues:
42
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform