Solved

TQRPreview problem

Posted on 2001-06-08
2
788 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Show Listview image from database (String field) 5 137
Dev Express grid collapse 2 45
How to define IfThen functions in one common unit? 4 60
shape, triangle, dbctrlgrid 3 17
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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