Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Funky Preview Window
Message
 
To
18/11/2008 10:09:36
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01362540
Message ID:
01362629
Views:
12
>While developing and testing a custom report listener, my standard report preview window began displaying incorrectly. The sides of the previewed page are "compressed" to about half the normal page width, and the rendered report objects on the narrowed page are correspondingly compressed. I then tried to run a non-listener-report preview, and the preview window did not display -- I got only a screen flicker when the preview window opened and then closed again instantaneously. Any suggestions on what I might have done to it and what I might check for?
>
>TIA,
>-mark

Did you put code in the GetPageHeight or GetPageWidth methods of the report listener? If so, that could be a problem.

Another thing to check is all the method you put code .. if the parent class also has code be sure you put DODEFAULT() in there.
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
Reply
Map
View

Click here to load this message in the networking platform