Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Report Listener Preview Issue
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Using Report Listener Preview Issue
Miscellaneous
Thread ID:
00910174
Message ID:
00910174
Views:
82
Ok, my first real hickup with vfp9. I have a "report master dialog", where the user select the report they want, and the criteria for that (date, department, etc), it's a model form, and with an option group for Preview or Print. So before I run the report, I created the listener object:
oListener = CREATEOBJECT("ReportListener")
oListener.ListenerType = 1 && Preview, or 0 for Print
REPORT FORM grad OBJECT oListener
It works, and I can already see the display improvement, EXCEPT that when I right-click on the preview, I get the popup menu for next page, previous page, zoom, but the report has disappeared into the background somewhere, I can't see it, the main report master form is showing, but clicking on it anywhere just beeps (it's not active), but the report preview tool bar is there and I can close the report. Repeating the process does the same thing.

Kirk
Next
Reply
Map
View

Click here to load this message in the networking platform