-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUOrPadrao.pas
54 lines (45 loc) · 1.07 KB
/
UOrPadrao.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
unit UOrPadrao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, PngBitBtn, pngimage, ExtCtrls;
type
TfrmOrPadrao = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
Panel3: TPanel;
Image1: TImage;
Label1: TLabel;
btImprimir: TPngBitBtn;
btCancelar: TPngBitBtn;
GroupBox1: TGroupBox;
txtOrdernado: TRadioGroup;
procedure btCancelarClick(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure FormKeyPress(Sender: TObject; var Key: Char);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmOrPadrao: TfrmOrPadrao;
SQL : String;
implementation
{$R *.dfm}
procedure TfrmOrPadrao.btCancelarClick(Sender: TObject);
begin
close;
end;
procedure TfrmOrPadrao.FormClose(Sender: TObject; var Action: TCloseAction);
begin
release;
end;
procedure TfrmOrPadrao.FormKeyPress(Sender: TObject; var Key: Char);
begin
if Key = #13 then begin
Key := #0;
Perform(WM_NEXTDLGCTL, 0, 0)
end;
end;
end.