Re: Preview opens maximised

Tom Nesler <[email protected]> Tue, 16 Jul 2002 12:11:10 -0700 (PDT)
Newsgroups gmane.comp.lang.delphi.quick-reports
Message-ID <[email protected]>
Hi Howard!
--- norcrossh <[email protected]> wrote:
> I have a simple report and I'm using the .preview method of the 
> quickrep object to preview it. Maybe I'm missing something obvious 
> but I can't get the form to open in anything but maximised state, 
> i.e. occupying the full desktop area. I want the preview to occupy 
> about 25% of the desktop size.

I assume you are using the standard version of QR.  Because of this you
don't have the source code of the QuickRep component so you can modify
the code to open differently.

I think your only alternative is to create your own previewer and use
that in place of the standard one.  QR has a component called
QRPreview.
In the QRHelp lookup 'TQRPreview Example' for an example of how to set
one up.  You will need to add more buttons to the toolbar to get the
functionality you normally get using the standard previewer.  

I am playing around with this component myself, so if you get stuck,
email me privately and I will send you a sample of my code.

Good luck!




=====
Tom Nesler

Live Long...Code Well... and Prosper! V

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com