Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to strech a rectangle box?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00005817
Message ID:
00005920
Vues:
58
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform