-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfrmAbout.pas
68 lines (53 loc) · 1.36 KB
/
frmAbout.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
{
******************************************************
Monkey Island Explorer
Copyright (c) 2010 - 2018 Bennyboy
Http://quickandeasysoftware.net
******************************************************
}
unit frmAbout;
interface
uses
Windows, Forms, Controls, Classes, Graphics,
ExtCtrls, JvExControls, JvScrollText,
JCLShell,
uMIExplorer_Const, pngimage;
type
TAboutfrm = class(TForm)
Image1: TImage;
Image2: TImage;
JvScrollText1: TJvScrollText;
procedure FormCreate(Sender: TObject);
procedure FormShow(Sender: TObject);
procedure FormHide(Sender: TObject);
procedure Image1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Aboutfrm: TAboutfrm;
implementation
{$R *.dfm}
procedure TAboutfrm.FormCreate(Sender: TObject);
begin
//Add the version to the scrolling text
JVScrollText1.Items.Strings[2]:='Version ' + strAppVersion;
JVScrollText1.Font.Color:=clWhite;
JVScrollText1.Font.Size:=14;
Aboutfrm.Caption:='About ' + strAppName;
end;
procedure TAboutfrm.FormHide(Sender: TObject);
begin
//JVScrollText1.Active:=false;
end;
procedure TAboutfrm.FormShow(Sender: TObject);
begin
JVScrollText1.Active:=true;
end;
procedure TAboutfrm.Image1Click(Sender: TObject);
begin
shellexec(0, 'open', 'Http://quick.mixnmojo.com','', '', SW_SHOWNORMAL);
end;
end.