Last change
on this file was 1, checked in by george, 15 years ago |
- Přidáno: Rozpracovaný překlad Lazarusu 0.9.25 a 0.9.26.
- Přidáno: Nástroj pro překládání naprogramovaný v Turbo Delphi.
|
File size:
816 bytes
|
Line | |
---|
1 | unit UItemTranslationForm;
|
---|
2 |
|
---|
3 | interface
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
---|
7 | Dialogs, StdCtrls;
|
---|
8 |
|
---|
9 | type
|
---|
10 | TItemTranslationForm = class(TForm)
|
---|
11 | Memo1: TMemo;
|
---|
12 | Memo2: TMemo;
|
---|
13 | Button1: TButton;
|
---|
14 | procedure Button1Click(Sender: TObject);
|
---|
15 | procedure Memo2KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
|
---|
16 | private
|
---|
17 | { Private declarations }
|
---|
18 | public
|
---|
19 | { Public declarations }
|
---|
20 | end;
|
---|
21 |
|
---|
22 | var
|
---|
23 | ItemTranslationForm: TItemTranslationForm;
|
---|
24 |
|
---|
25 | implementation
|
---|
26 |
|
---|
27 | {$R *.dfm}
|
---|
28 |
|
---|
29 | procedure TItemTranslationForm.Button1Click(Sender: TObject);
|
---|
30 | begin
|
---|
31 | Close;
|
---|
32 | end;
|
---|
33 |
|
---|
34 | procedure TItemTranslationForm.Memo2KeyDown(Sender: TObject; var Key: Word;
|
---|
35 | Shift: TShiftState);
|
---|
36 | begin
|
---|
37 | if Key = 116 then Memo2.Text := Memo1.Text;
|
---|
38 | end;
|
---|
39 |
|
---|
40 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.