Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to strech a rectangle box?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00005817
Message ID:
00005920
Views:
52
Mike,
I don't think it is possible to dynamicaly size
an "Object" in the report generator.

The following function may be an alternitive though
I have not taken the time to perfect it.

Place the following function call,
in your report as you would a field,
on top of the stuff you want to box .
Pass the width you need as a parameter.
The tecnique is obvious though the function is not polished
(I'm not proud of it)

I generally use this sort of thing for summary counts
when I don't know the number of things I will have
to display counts for at the time I am making
the report form.

This May be more trouble than it's worth. The 6 box
and the print WHEN deal may be you best choice.


FUNCTION BoxIt(tnWidth)
IF TYPE("tnWidth") # "N"
tnWidth = 10
ENDIF
RETURN REPLICATE(chr(150), tnWidth) +CHR(13)+ ;
REPLICATE(chr(150), tnWidth)
Chris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform