PDM
PDM

Reputation: 603

Delphi Quick Reports - Cancel and Close Preview

What's the best way to cancel a quick report whilst it is generating? I would like to cancel the report generation and automatically close the preview screen.

Upvotes: 0

Views: 2488

Answers (1)

Ken White
Ken White

Reputation: 125620

Call the QuickReport.Cancel method. It's documented in the help file, at least for the QR 3.6 Pro version I have handy.

BTW, you should really mention which version of QuickReports you're using, as different versions have different functionality.

Upvotes: 1

Related Questions