Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shrinking a report
Message
 
To
27/11/2007 11:51:31
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01271475
Message ID:
01271484
Views:
26
Whoever wrote the code got lucky!

It's not that easy to move things around on a report thru the FRX file. The VPOS of every item is relative to the top of the report .. and it also allows for an arbritrary height for each gray bar you see on the report designer. You can't just apply a factor because those gray bars are constant heights.

In the FFC directory there is a class library called _FRXCursor. This is full of classes that can help you manipulate an FRX. But like I said .. it's not simple. You have to call methods to build a cursor with all the bands and then another one with all the objects and then manipulate them and then call another method to resync everything.
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