Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Part of the string - in Bold
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00461366
Message ID:
00461749
Vues:
47
>>depending on the font, spaces can change size, that is to say, the first space may be 5 pixels, but successive spaces are only 2 or 3 pixels! So the result of putting spaces in front of text can be unpredictable.
>>
>>Minor oops here, my own code used a UDF to put stuff on the page, not a fox tab command! but the concept remains, if you know the length of the first field, you force the second one to contain the correct amount of white space which isn't as simple as counting characters!
>>
>>Mike
>
>Hi Mike,
>
>I'm still confused. Let's summarize once again, what I'm trying to achieve:
>Report
>
         <b>Buyer</b>, Address, Use Code
>        <b>Nadya Nosonovsky</b>, The Warren Group, Boston, Use 101
>        <b>Mike Mattos</b>, Mississauga, Ontario, Use 031
>         etc.
>
>Now, that I did:
>I created two fields:
>Field1 Buyer is Tahoma 9, Bold
>Field2 spaces(txtwidth(alltrim(Buyer),"Tahoma",9,"B")/txtWidth(" ","Tahoma",9,"B")+", "+Address+", "+"Use "+StateUse
>
>Field1 and Field2 are overlapped together (start at the same position).
>
>I noticed, that it still doesn't look exactly right. I added one additional space before Address. It's alsmost fine, but not exact.
>
>If you can help me here, please, be as more specific, as you could be.

Sorry, my bad :( I had to check it before sending... :(
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform