-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelatorio.pas
64 lines (48 loc) · 1.13 KB
/
relatorio.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
64
unit relatorio;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, RLReport, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.Imaging.pngimage;
type
TForm5 = class(TForm)
rl_cheque: TRLReport;
RLBand1: TRLBand;
RLDBText2: TRLDBText;
RLDBText3: TRLDBText;
RLDBText4: TRLDBText;
RLDBText5: TRLDBText;
RLDBText6: TRLDBText;
RLDBText7: TRLDBText;
RLDBText8: TRLDBText;
RLLabel1: TRLLabel;
RLDBText9: TRLDBText;
RLDBText1: TRLDBText;
RLDBText10: TRLDBText;
RLLabel2: TRLLabel;
RLDBText11: TRLDBText;
RLImage1: TRLImage;
procedure RLBand1BeforePrint(Sender: TObject; var PrintIt: Boolean);
// procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form5: TForm5;
implementation
{$R *.dfm}
uses imprimir;
procedure TForm5.RLBand1BeforePrint(Sender: TObject; var PrintIt: Boolean);
begin
if (Form4.cruzadocheck.Checked) then
begin
RLImage1.Visible := true;
end
else
begin
RLImage1.Visible := false;
end;
end;
end.