trichview.com

trichview.support




Re: How can I use to TOleContainer in Rivhciew Preview


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/06/2002 19:28:04


Controls are not printed automatically.

You need to process TRVPrint.OnPrintComponent:


Try the following code:


procedure TForm1.RVPrint1PrintComponent(Sender: TCustomRVPrint;

  PrintMe: TControl; var ComponentImage: TBitmap);

begin

    ComponentImage := DrawControl(PrintMe); // from CtrlImg unit

end;


> I used in RV document TOleContainer and saved.

> But RV Preview can not displayed it.

>

>

>





Powered by ABC Amber Outlook Express Converter