trichview.com

trichview.support




Update problem


Return to index


Author

Message

Tobias Thörn

Posted: 02/24/2004 13:12:44


I have a problem when updateing a preview.

I have a RVPrint, rvPPreview and rvEdit (laying in rvPPreview).

I set a backgroundImage (DRAFT waterstamp-like-thingie) and when I are to

show the previewform I do (from forms OnShow):

procedure TfrmPreview.UpdatePreview;

  RVPrint.AssignSource(rvEdit);

  RVPrint.FormatPages(rvdoAll);

  rvPPreview.SetZoom(100);

  rvPPreview.First;

end;


But the background image does not show.


Now to th strange thing.

When I change the document in some way, like changing margins, or font I

call the UpdatePreview again and this time it will show the backgroundimage.


I have tried to call it twice in the forms OnShow but to no use. :-/


Any ideas?





Powered by ABC Amber Outlook Express Converter