Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Am I previewing or printing (print when condition)
Message
From
13/03/2013 17:02:40
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01568243
Message ID:
01568253
Views:
50
>There is a solution in FAQ section here by former 'Agnes' as I recall.

The solution in the FAQ is interesting (http://www.levelextreme.com/ViewPageNewFAQ.aspx?ID=37145). Another solution would be to subclass the VFP window that pops up during print (and its command button for cancel) and see if that window goes through a normal termination, or if the user interacted with it clicking on the cancel button, for example.

Why hasn't someone just modified the ReportWriter code (in HOME() + "tools\xsource") to set a global variable so as to indicate this condition upon exit?
Previous
Reply
Map
View

Click here to load this message in the networking platform