Solved

TQRPreview problem

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now