Need an event when printerdialog is cancelled

edited 7:58PM 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 7:58PM
    Check TfrxReport.Print result. If TfrxReport.Print= False - Cancel button pressed

Leave a Comment