Last change
on this file was 110, checked in by chronos, 2 years ago |
- Modified: Edit name details in separate window.
|
File size:
1.1 KB
|
Line | |
---|
1 | unit UFormNameDetails;
|
---|
2 |
|
---|
3 | {$mode Delphi}
|
---|
4 |
|
---|
5 | interface
|
---|
6 |
|
---|
7 | uses
|
---|
8 | Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls;
|
---|
9 |
|
---|
10 | type
|
---|
11 |
|
---|
12 | { TFormNameDetails }
|
---|
13 |
|
---|
14 | TFormNameDetails = class(TForm)
|
---|
15 | ButtonOk: TButton;
|
---|
16 | ButtonCancel: TButton;
|
---|
17 | EditFirstName: TEdit;
|
---|
18 | EditLastName: TEdit;
|
---|
19 | EditMiddleName: TEdit;
|
---|
20 | EditTitleAfter: TEdit;
|
---|
21 | EditTitleBefore: TEdit;
|
---|
22 | Label1: TLabel;
|
---|
23 | Label25: TLabel;
|
---|
24 | Label26: TLabel;
|
---|
25 | Label27: TLabel;
|
---|
26 | Label5: TLabel;
|
---|
27 | procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
---|
28 | procedure FormCreate(Sender: TObject);
|
---|
29 | procedure FormShow(Sender: TObject);
|
---|
30 | private
|
---|
31 |
|
---|
32 | public
|
---|
33 |
|
---|
34 | end;
|
---|
35 |
|
---|
36 | var
|
---|
37 | FormNameDetails: TFormNameDetails;
|
---|
38 |
|
---|
39 | implementation
|
---|
40 |
|
---|
41 | {$R *.lfm}
|
---|
42 |
|
---|
43 | uses
|
---|
44 | UCore;
|
---|
45 |
|
---|
46 | { TFormNameDetails }
|
---|
47 |
|
---|
48 | procedure TFormNameDetails.FormClose(Sender: TObject;
|
---|
49 | var CloseAction: TCloseAction);
|
---|
50 | begin
|
---|
51 | Core.PersistentForm1.Save(Self);
|
---|
52 | end;
|
---|
53 |
|
---|
54 | procedure TFormNameDetails.FormCreate(Sender: TObject);
|
---|
55 | begin
|
---|
56 | Core.Translator.TranslateComponentRecursive(Self);
|
---|
57 | Core.ThemeManager1.UseTheme(Self);
|
---|
58 | end;
|
---|
59 |
|
---|
60 | procedure TFormNameDetails.FormShow(Sender: TObject);
|
---|
61 | begin
|
---|
62 | Core.PersistentForm1.Load(Self);
|
---|
63 | end;
|
---|
64 |
|
---|
65 | end.
|
---|
66 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.