trichview.com

trichview.support




Re: Possible bug with printing?


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/03/2002 12:49:13


Hi,


Yes, application must not be closed (and source RichView must not be

destoroyed or changed) until TRVPrint will finish its work.

You can use OnSendingToPrinter event:

- parameter Step = rvpsStarting - staring printing job;

- Step = rvpsFinished - printing job is complete;



> We've noticed what looks to be a bug / oversight with printing. When you

> create a TRichView, it takes a TWinControl as an owner. We can't pass

> 'nil' into this, because it uses the canvas properties of said owner.

>

> In normal use this is fine, but if the user exits the application while

> still printing, lots of exceptions are raised / crashes occur.

>

> Would be nice if TRVPrint had a 'PrintingInProgress' property or similar

> which could be checked before allowing the user to close the application.

>

> Regards,

>

> Bil Irving

> Rapid Prototyping Systems Ltd





Powered by ABC Amber Outlook Express Converter