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:
00461374
Vues:
106
This message has been marked as the solution to the initial question of the thread.
Hi!

TxtWidth() function, of course!

Put 2 fields that are transparent. Each will use the function. First field will print Bold part, second will print Spaces + Normal font part. Number of spaces - calculate using TxtWidth:

NumSpaces = TxtWidth(FieldFirstPart,'FontName',FontSize,'B')/TxtWidth(Space(1),'FontName',FontSize)

>Hi everybody,
>
>I'm designing a Report, called Buyer Index.
>It's a two collumn report, with Detail Band looks like:
>
>Aller, Henry A, 354 Main St., Wellfleet, Use 031
> etc.
>
>IOW, Buyer name is in Bold, then follows Address, then use code.
>The question is: how can I make Buyer Name Bold? If I would use separate fields for these, how can I arrange them?
>
>Could you please help me, because I'm stack... :(
>
>Well, let's take a little break and take my lunch now.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform