-
Notifications
You must be signed in to change notification settings - Fork 0
/
HelpForm.pas
98 lines (84 loc) · 2.53 KB
/
HelpForm.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
//******************************************************************************
// LBA Font Editor - editing lfn (font) files from Little Big Adventure 1 & 2
//
// HelpForm unit.
// Contains help window and clickable link routines.
//
// Copyright (C) Zink
// e-mail: [email protected]
// See the GNU General Public License (License.txt) for details.
//******************************************************************************
unit HelpForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, ComCtrls, Tabnotbk, ShellApi, OleCtrls;
type
THelpF = class(TForm)
TabbedNotebook1: TTabbedNotebook;
Panel1: TPanel;
Panel2: TPanel;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label5: TLabel;
Label6: TLabel;
Label7: TLabel;
Label8: TLabel;
AdresLabel: TLabel;
Panel3: TPanel;
Memo1: TMemo;
Panel4: TPanel;
Memo2: TMemo;
Panel5: TPanel;
Memo3: TMemo;
HpLabel: TLabel;
Label4: TLabel;
procedure AdresLabelMouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
procedure AdresLabelMouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
procedure HpLabelMouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
procedure HpLabelMouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
HelpF: THelpF;
implementation
uses LBAFont1;
{$R *.DFM}
procedure THelpF.AdresLabelMouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
AdresLabel.Font.Color:=clYellow;
AdresLabel.Repaint;
ShellExecute(Handle,'open','mailto:[email protected]',nil,nil,SW_SHOWNORMAL);
end;
procedure THelpF.AdresLabelMouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
AdresLabel.Font.Color:=clBlue;
end;
procedure THelpF.HpLabelMouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
HpLabel.Font.Color:=clYellow;
HpLabel.Repaint;
ShellExecute(Handle,'open','www.emeraldmoon.prv.pl',nil,nil,SW_SHOWNORMAL);
end;
procedure THelpF.HpLabelMouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
HpLabel.Font.Color:=clBlue;
end;
procedure THelpF.FormCreate(Sender: TObject);
begin
Label3.Caption:='Version: '+VerNum;
end;
end.