Okay - to partially answer my own
question.
It seems that something like the following will do
the trick:
procedure
QuitReport;
begin if OwnInv1.Report.Printer.ShowingPreview then
OwnInv1.Report.Printer.ClosePreview(Something);
OwnInv1.Report.Cancel; end; 'Something' is a TWinControl. But I don't
know what to put there.
Any help will be greatly appreciated.
Mark
|
- [DUG]: Quitting QR report from Preview mode Mark Howard
- RE: [DUG]: Quitting QR report from Preview mode Patrick Dunford
- Re: [DUG]: Quitting QR report from Preview mode Mark Howard
- RE: [DUG]: Quitting QR report from Preview m... Laurence Bevan
- Re: [DUG]: Quitting QR report from Previ... Mark Howard
- Mark Howard