Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell if cancel was clicked in the print dialog.
Message
 
 
To
20/05/2005 12:31:09
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01016243
Message ID:
01016342
Views:
8
>>I know how to tell if printed from print preview....
>>
>>How can I tell if Cancel was clicked on the print dialog?
>
>Pretty much the same way. You can have a function called from your topmost band which will set a property or a variable somewhere to .t. if the report was run. If it wasn't, it won't ever run.
>
>If your report has a dataenvironment (not recommended by a few here, me included), you can add such code there.

You don't need UDF. See Re: Capturing Print Dialogue Box Result Message #878078
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform