print preview in separate window

General TRichView support forum. Please post your questions here
Post Reply
krctech
Posts: 7
Joined: Tue Jun 03, 2008 4:57 am
Location: San Diego, CA US

print preview in separate window

Post by krctech »

I have successfully implemented a TRVPrintPreview on the same form as a TRichView. What I want to do is have a modal dialog (separate from the main form that contains the TRichView) that the user invokes which contains the preview. I've tried (unsuccessfully) to pass the TRichView instance to the modal dialog that contains TRVPrint and TRVPrintPreview components. I do the usual but nothing appears.

Where am I going wrong?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

See the demos, they have print preview in a separate form.
For Delphi 2009 and newer, demos are in Demos\DelphiUnicode\ folder.
A modal preview form can be found in the demos:
Editors\Editor 1\
Editors\Notes\
Assorted\Printing\Headers\
krctech
Posts: 7
Joined: Tue Jun 03, 2008 4:57 am
Location: San Diego, CA US

Post by krctech »

Thanks Sergey. I looked at the demos but somehow missed these.
Post Reply