Page 1 of 1

Cancel rendering/printing during first pass

Posted: Fri Jul 25, 2008 3:25 am
by Jean-Philippe Roques
Hi,

When i rendering a report wich need more than one pass, the cancel button is disabled during the first. Setting stiPreviewControl.Report.Stop = true have also no effect during the first pass of rendering.

It's could be annoying for user to not be abble to cancel preview or printing. Is there a way to enable the cancel button during first pass ? And also is there a way to cancel rendering in a stiPreviewControl "by code" during first pass ?

Thanks
Jean-Philippe

Cancel rendering/printing during first pass

Posted: Fri Jul 25, 2008 5:04 am
by Stéphane
Hello Jean-Philippe ! (Jean-Philippe of E.B.P. ? It's you ? :biggrin:)

Indeed, the cancel button is disabled during the first pass, I think it's just a little bug because when you do a preview into the designer, you can interrupt it.

The Stop property has no effect; on the contrary, the IsStopped property seems to work.


Cordially,
Kakone.


Cancel rendering/printing during first pass

Posted: Fri Jul 25, 2008 10:53 am
by Edward
Yes, it is true, IsStopped worked as expected.

Behavior of Stop property is fixed, thank you for the bug report.

Thank you.