Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if the user printed from the preview ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00111544
Message ID:
00111888
Views:
14
>>Hello to everybody, I've been out for a long time, but I'm
>>back.
>>Somebody knows a way to check if user clicked on the
>>print button while previewing a report ?
>>I use to do this in the old days :
>>
>>REPORT FORM MyReport PREVIEW NOCONSOLE
>>REPORT FORM MyReport TO PRINTER PROMPT NOCONSOLE
>>
>>But now I in 5.0 the user can print from the preview, and
>>when that happens I don't want the second line of code
>>to be executed
>>=this.thanks("in advance")
>
>Luis
>
>There was a discussion on this very topic a few weeks back. George Tasker had a solution of using a Timer, as the process of actually printing the report would interupt the running of the timer.
>
>Check out the thread #104032
>
>HTH

Thanks, I looked at it and it seems interesting, I'll give it
a try.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Reply
Map
View

Click here to load this message in the networking platform