Need an event when printerdialog is cancelled

edited 12:10PM in FastReport VCL 5
I've developed a system for printing FastReports where there are several layers also in different units.
Some printing actions require printout of multiple reports and there is a problem when the operator cancels a print job.
I have made it so that the fastreport dialog only displays on the first print and if it is canceled only that report cancels and then the rest will be printed without any possibility to cancel.
If there is an event from the dialog/report telling me that it is canceled I could solve this problem easily.

So my question is simple, Is there an event when the report is canceled?
Thanks in advance.

Comments

  • gpigpi
    edited 12:10PM
    Check TfrxReport.Print result. If TfrxReport.Print= False - Cancel button pressed

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.