-
Notifications
You must be signed in to change notification settings - Fork 0
/
QRORDER4.PAS
63 lines (51 loc) · 1.42 KB
/
QRORDER4.PAS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{ QuickReport mailing labels form }
unit Qrorder4;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Qrctrls, quickrpt, qrextra, DB, DBTables, ExtCtrls;
type
TFormQReport4 = class(TQuickRep)
DetailBand1: TQRBand;
QRLabel1: TQRLabel;
QRLabel3: TQRLabel;
QRLabel4: TQRLabel;
ChildBand1: TQRChildBand;
QRImage1: TQRImage;
DetailBand2: TQRBand;
QRLabel6: TQRLabel;
QRLabel8: TQRLabel;
QRLabel7: TQRLabel;
QRLabel9: TQRLabel;
QRSysData1: TQRSysData;
QRLabel2: TQRLabel;
QRLabel5: TQRLabel;
QRLabel10: TQRLabel;
procedure FormQReportBeforePrint(Sender: TQuickRep;
var PrintReport: Boolean);
procedure ChildBand1BeforePrint(Sender: TQRCustomBand;
var PrintBand: Boolean);
private
{ Private declarations }
public
{ Public declarations }
end;
var
FormQReport4: TFormQReport4;
implementation
uses export1;
{$R *.DFM}
procedure TFormQReport4.FormQReportBeforePrint(Sender: TQuickRep;
var PrintReport: Boolean);
begin
IF FormExport1.CheckBox1.Checked then
if FileExists('detapro.bmp') then
QRImage1.Picture.LoadFromFile('detapro.bmp');
ChildBand1.Enabled:=FormExport1.CheckBox1.Checked;
end;
procedure TFormQReport4.ChildBand1BeforePrint(Sender: TQRCustomBand;
var PrintBand: Boolean);
begin
ChildBand1.Height := QRImage1.Height+10;
end;
end.