Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Summary band stretch with overflow and float
Message
 
À
26/05/2005 19:10:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01017963
Message ID:
01018117
Vues:
17
When something is marked as float, VFP looks above the item to see if anything stretched. However .. it looks with blinders on its eyes. What I mean is that it only looks straight up from the left and right edges of the particular object -- not the entire width of the band. For example, in the following sample, If "AAAAA" stretched ... "EEEEE" would not float because it does not fall directly below "AAAAA".
AAAAA  BBBBB   CCCCC
DDDDDDDDDDDD   EEEEE
To get around this use a horizontal line to trick the report writer as follows:
AAAAA  BBBBB   CCCCC
--------------------
DDDDDDDDDDDD   EEEEE
As long as the line is marked as float, it will move down whenever AAAAA stretches. And because the line moves down ... EEEEE will also move down because something directly above it floated!! Obviously, you don't want to see the line on your report .. so the trick is to set the Pen color to white or the pen width to none, so it's invisible!
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform