Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Knowing if user printed from a preview
Message
From
11/08/2020 19:44:19
 
 
To
07/08/2020 16:25:09
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01675613
Message ID:
01675692
Views:
57
>I've seen the solution before, but I don't remember what it was.
>
>Does anybody know how to know if the VFP print preview resulted in them actually printing to a printer? Was it FoxyPreviewer that allowed it? Or was there a native VFP way?
>
>UPDATE: Found it. A thread on Tek-Tips: qid=1643078

Rick - one very old native VFP way is to test for a window existing immediately following your report form command. This will allow you to detect if the user clicked on the printer button of the VFP report toolbar or not...

? WEXIST("Printing...")
Thanks,

Stacy



Black Mountain Software, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform