trichview.com

trichview.support




Re: RVPrintExPagePrepaint - need additional argument


Return to index


Author

Message

Sergey Tkachenko

Posted: 02/15/2002 9:07:11


I do not think that it is really needed.

You can use some form's variable for storing a reference to RichView, and

assign it at the same time as calling AssignSource.


BTW, in last versions Sender has type TCustomRVPrint instead of TRVPrint.


> Can you add another argument to RVPrintExPagePrepaint? It seems that you

> missed an argument for procedure TCustomRichView.

>

> Right now I have to use the RVPrintExFormatting event in order to obtain

an

> instance of RichView to use in the RVPrintExPagePrepaint event.

>

> In your printing example, demonstrating headers, you hardcode in your

> RichView instance. It would be much eaiser, for me at least, if you could

> add the additional argument to the RVPrintExPagePrepaint event's argument

> list..

>

> Thanks,

> Joe

>

>

> procedure TPrintPreviewer.RVPrintExPagePrepaint(Sender: TRVPrint; PageNo:

> Integer; Canvas: TCanvas; Preview: Boolean; PageRect, PrintAreaRect:

TRect);

>

>

>





Powered by ABC Amber Outlook Express Converter