Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

TQRPreview problem

Posted on 2001-06-08
2
Medium Priority
?
818 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 400 total points
ID: 6169167
QuickRep1.Prepare;
QRPreview1.QRPrinter:=QuickRep1.QRPrinter;
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Integration Management Part 2
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

916 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