Notification that report has finished being prepared

I have a report preview on a component that I keep invisible until the form has finished generating and is ready to be displayed. In the meanwhile I want to display my own progress bar. How do I know when the report has finished generating?

Comments

  • Anu de DeusAnu de Deus Hampshire, UK
    edited 8:52AM
    fReport.OnProgressStop := ProgressStop;

    procedure TFormRptProgress.ProgressStop(Sender: tfrxReport; ProgressType: TfrxProgressType; Progress: Integer);
    begin
    showmessage('Finished preparing pages');
    end;

Leave a Comment