Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Summary band stretch with overflow and float
Message
 
To
26/05/2005 19:10:15
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01017963
Message ID:
01018117
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform