Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No way to tell if Print button was pressed on Preview?!
Message
 
To
04/08/1997 09:46:02
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00042331
Message ID:
00043055
Views:
42
>>Actually Gino, no. If you look at the value of glPrinted in the debug window while paging backward (or forward and then back to page one) in the preview, you will see it change. I'm guessing that the Title Bar gets re-created every time you hit page one (which happens when going backwards as well as landing on page one). Right now I can't think of a way around it -- there's no way to control how much a user moves around in the preview and no way that I know of to find out by what method page one was reached (i.e. through paging or printing). So I guess we're back to removing the print button from the toolbar.
>>
>
>Hmm..it seems that unfortunately you're correct. I wonder if there's any way to check the toolbar directly through the Win API

Gino,

The only toolbar functions that I'm aware of apply to NT not 95. Monitoring the print for activity might be possible, but most of the functions require pointers to arrays of structures. While it's possible to retrieve information, acurately monitoring the printer might be problematical at best.

George
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform