This repository was archived by the owner on Oct 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuabout.pas
More file actions
61 lines (44 loc) · 1.26 KB
/
uabout.pas
File metadata and controls
61 lines (44 loc) · 1.26 KB
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
unit uAbout;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
StdCtrls, vinfo;
type
{ TfrmAbout }
TfrmAbout = class(TForm)
Image1: TImage;
Label1: TLabel;
Label2: TLabel;
lblVersion: TLabel;
Label3: TLabel;
procedure FormShow(Sender: TObject);
procedure Label2Click(Sender: TObject);
procedure Label3Click(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
frmAbout: TfrmAbout;
VersionInfo: TVersionInfo;
implementation
{$R *.lfm}
uses lclintf;
{ TfrmAbout }
procedure TfrmAbout.Label3Click(Sender: TObject);
begin
OpenURL('http://www.famfamfam.com/lab/icons/silk/');
end;
procedure TfrmAbout.FormShow(Sender: TObject);
begin
lblVersion.Caption := 'Version ' + IntToStr(VersionInfo.FixedInfo.FileVersion[0]) + '.' +
IntToStr(VersionInfo.FixedInfo.FileVersion[1]) + '.' +
IntToStr(VersionInfo.FixedInfo.FileVersion[2]) + '.' + IntToStr(VersionInfo.FixedInfo.FileVersion[3]);
end;
procedure TfrmAbout.Label2Click(Sender: TObject);
begin
OpenURL('http://forum.kerbalspaceprogram.com/threads/62834-Saturn-yet-another-kOS-IDE');
end;
end.