In Delphi there was an event, where i handled it this way:
procedure TfrmFastReport.frxReport1AfterPrintReport(Sender: TObject);
begin
isPrinted := true;
end;
But in .NET I've the same problem. I tried with Event "finishedReport", but this will always be called.
Maybe we have to handle it with an out-parameter (if this is possible?) in the Report and using the AfterPrint event in the Report Designer.
Comments
I need to know this same topic, because I need to close the reprot page. I'm using Fastreports and aspx form.
But in .NET I've the same problem. I tried with Event "finishedReport", but this will always be called.
Maybe we have to handle it with an out-parameter (if this is possible?) in the Report and using the AfterPrint event in the Report Designer.
FastReport.Utils.Config.ReportSettings.ReportPrinted += ReportSettings_ReportPrinted;
Please, show me
private void AfterPrint(object sender, EventArgs e)
{
Console.Beep();
}