-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.pas
66 lines (46 loc) · 1.07 KB
/
about.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
55
56
57
58
59
60
61
62
63
64
65
unit About;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls,
Buttons;
type
{ TAboutBox }
TAboutBox = class(TForm)
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
OKBtn: TBitBtn;
BitBtn4: TBitBtn;
StaticText1: TStaticText;
StaticText2: TStaticText;
StaticText3: TStaticText;
procedure BitBtn1Click(Sender: TObject);
procedure BitBtn2Click(Sender: TObject);
procedure BitBtn4Click(Sender: TObject);
procedure FormShow(Sender: TObject);
private
public
end;
var
AboutBox: TAboutBox;
implementation
uses LCLIntf;
{$R *.lfm}
{ TAboutBox }
procedure TAboutBox.BitBtn1Click(Sender: TObject);
begin
if not OpenDocument('mailto:[email protected]') then
ShowMessage('EMail-Client nicht gefunden')
end;
procedure TAboutBox.BitBtn2Click(Sender: TObject);
begin
end;
procedure TAboutBox.BitBtn4Click(Sender: TObject);
begin
OpenDocument('https://github.com/jakobsche/classchart')
end;
procedure TAboutBox.FormShow(Sender: TObject);
begin
FocusControl(OKBtn);
end;
end.