-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUnit1.pas
More file actions
42 lines (33 loc) · 836 Bytes
/
Unit1.pas
File metadata and controls
42 lines (33 loc) · 836 Bytes
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
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TForm1 = class(TForm)
Panel1: TPanel;
Button1: TButton;
Panel2: TPanel;
Edit1: TEdit;
ComboBox1: TComboBox;
procedure AllEditKeyPress(Sender: TObject; var Key: Char);
procedure Edit1KeyPress(Sender: TObject; var Key: Char);
private
{ Private 錾 }
public
{ Public 錾 }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.AllEditKeyPress(Sender: TObject; var Key: Char);
begin
// All Edit Key Press Event Handler
end
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
begin
// Edit1 KeyPress Event Handler
AllEditKeyPress(Sender, key);
end;
end.