-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.pas
56 lines (37 loc) · 868 Bytes
/
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
unit About;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Buttons;
type
{ TAboutBox }
TAboutBox = class(TForm)
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
Label1: TLabel;
procedure BitBtn1Click(Sender: TObject);
procedure BitBtn2Click(Sender: TObject);
procedure Label1Click(Sender: TObject);
private
public
end;
var
AboutBox: TAboutBox;
implementation
uses LCLIntf;
{$R *.lfm}
{ TAboutBox }
procedure TAboutBox.BitBtn1Click(Sender: TObject);
begin
Close
end;
procedure TAboutBox.BitBtn2Click(Sender: TObject);
begin
OpenURL('mailto:[email protected]'{?subject="Betrifft Scout"'})
{funktioniert nicht mit Parametern (auch OpenDocument)}
{OpenDocument funktioniert nicht mit Linux}
end;
procedure TAboutBox.Label1Click(Sender: TObject);
begin
end;
end.