Solved

TQRPreview problem

Posted on 2001-06-08
2
785 Views
Last Modified: 2007-11-27
TQRPreview problem

This is code :

unit Unit1;

interface

uses
 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;

type
 TForm1 = class(TForm)
   Button1: TButton;
   QuickRep1: TQuickRep;
   QuickRep2: TQuickRep;
   QRPreview1: TQRPreview;
   QRPreview2: TQRPreview;
 private
   { Private declarations }
 public
   { Public declarations }
 end;

var
 Form1: TForm1;

implementation

{$R *.DFM}

end.

How to preview QuickRep1 with QRPreview1 and QuickRep2 with QRPreview1 with Button1 click?
0
Comment
Question by:cvbn
2 Comments
 
LVL 2

Expert Comment

by:Drareg
ID: 6169120

You simply do QuickRep1.Preview or QuickRep2.Preview
0
 
LVL 2

Accepted Solution

by:
vbmn earned 100 total points
ID: 6169167
QuickRep1.Prepare;
QRPreview1.QRPrinter:=QuickRep1.QRPrinter;
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question