Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Flexible font size
Message
 
To
25/06/2006 08:38:19
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01131504
Message ID:
01131688
Views:
13
Hello Chaim

There are a couple ways,

Multiple fields overlapping each other using print when to determine the proper one (but instaed of length you may want to use TxtWidth)
I have done this, easy to implement, but coarse in sizing

Another way is to dynamically hack the frx, prior to the report running determine the max font size that will fit the space, find the record in the FRX and replace the font size column.
I have done this also, easy to implement, but report cannot be compiled in (if it is you can make a copy and tweak the copy)

Third way, write your string out to a graphic, using VFP or automation, and use the graphic in the report which you can scale. This works well but is harder to implement.

Another way, which I havn't tried, is to use Rich Text, maybe someone can chime in on this one.

Bob


>Hi
>I have a report with memo field.
>Can I tell VFP to give all the date in one place but the font size will be change by the value len?
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform