Last change
on this file was 31, checked in by chronos, 3 years ago |
- Modified: Store contact properties in general way to support also user defined properties and unknown attributes.
- Added: Show contact image in contact edit window.
|
File size:
828 bytes
|
Line | |
---|
1 | unit UFormError;
|
---|
2 |
|
---|
3 | {$mode delphi}
|
---|
4 |
|
---|
5 | interface
|
---|
6 |
|
---|
7 | uses
|
---|
8 | Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls;
|
---|
9 |
|
---|
10 | type
|
---|
11 |
|
---|
12 | { TFormError }
|
---|
13 |
|
---|
14 | TFormError = class(TForm)
|
---|
15 | MemoErrors: TMemo;
|
---|
16 | procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
---|
17 | procedure FormCreate(Sender: TObject);
|
---|
18 | procedure FormShow(Sender: TObject);
|
---|
19 | end;
|
---|
20 |
|
---|
21 | var
|
---|
22 | FormError: TFormError;
|
---|
23 |
|
---|
24 |
|
---|
25 | implementation
|
---|
26 |
|
---|
27 | {$R *.lfm}
|
---|
28 |
|
---|
29 | uses
|
---|
30 | UCore;
|
---|
31 |
|
---|
32 | { TFormError }
|
---|
33 |
|
---|
34 | procedure TFormError.FormCreate(Sender: TObject);
|
---|
35 | begin
|
---|
36 | Core.Translator.TranslateComponentRecursive(Self);
|
---|
37 | Core.ThemeManager1.UseTheme(Self);
|
---|
38 | end;
|
---|
39 |
|
---|
40 | procedure TFormError.FormShow(Sender: TObject);
|
---|
41 | begin
|
---|
42 | Core.PersistentForm1.Load(Self);
|
---|
43 | end;
|
---|
44 |
|
---|
45 | procedure TFormError.FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
---|
46 | begin
|
---|
47 | Core.PersistentForm1.Save(Self);
|
---|
48 | end;
|
---|
49 |
|
---|
50 | end.
|
---|
51 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.