Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Part of the string - in Bold
Message
From
09/01/2001 14:50:53
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00461366
Message ID:
00461374
Views:
104
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform