Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capturing Print click from Print Preview
Message
 
To
24/08/2007 00:20:54
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01250086
Message ID:
01250169
Views:
17
>I need to be able to determine if the "Print" icon has been clicked from the Print Preview toolbar whenever a report has been "Previewed" from the calling piece of VFP code. Is there a way to do this?

In VFP 9 SP2, there is a method in the ReportListener called OnPreviewClose(). It gets called when the preview window is closed and it receives a logical parameter of .t. if the user Printed.
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