TCustomRVReportGenerator.OnError

<< Click to display table of contents >>

TCustomRVReportGenerator.OnError

This event is called when report generation is finished.

type

  TRVReportGeneratedEvent = procedure (Sender: TObject; 
    Res: Boolean) of object;
 
property OnGenerated: TRVReportGeneratedEvent;

If Execute is called with the parameter UseThread = False, this event is called by the Execute method itself. In this case, processing this event is not necessary: you can do all processing after calling Execute.

If Execute is called with the parameter UseThread = True, this method only starts report generation in a background thread, and exits immediately. This event is called when the thread finishes generating a report.

In all cases, this event is called in the context of the main process, so you can safely work with user interface in this event.