-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
about.pas
76 lines (62 loc) · 2.05 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
66
67
68
69
70
71
72
73
74
75
76
unit about;
(*******************************************************************************
Application: PDFTK Builder
Description: A graphical user interface to the Windows version of PDFtk
Module: Main
Version: 5.0.0
Date: 18 Oct 2020
Target Platform: Windows 32-bit
Author: Sven Harazim
Credits: David King (PDFtk Builder Enhanced 4.1.5)
Angus Johnson (PDFtk Builder 2.05-3.10.0)
Copyright: © 2020, Sven Harazim
© 2018-2019, David King
© 2005-2018, Angus Johnson
http://www.angusj.com/pdftkb/
License: GNU GPL ver 3 (See http://www.gnu.org/copyleft/gpl.html)
Dependencies: PDFtk Server (pdftk.exe) must be installed to run program.
See https://www.pdflabs.com/tools/pdftk-server/
To use pdftk.exe versions earlier than 2.00, set
PdftkVersion in the .ini file to the version number.
PDF reader must be available to use 'View' buttons.
*******************************************************************************)
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ShellApi, ExtCtrls;
type
TAboutForm = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label4: TLabel;
lblUrl: TLabel;
Label3: TLabel;
Button1: TButton;
lblVersion: TLabel;
Image1: TImage;
Label5: TLabel;
Label6: TLabel;
Label7: TLabel;
Label8: TLabel;
procedure lblUrlClick(Sender: TObject);
procedure FormCreate(Sender: TObject);
end;
var
AboutForm: TAboutForm;
implementation
{$R *.dfm}
procedure TAboutForm.lblUrlClick(Sender: TObject);
var
str: string;
begin
TLabel(Sender).cursor := crAppStart;
application.processmessages;
str := TLabel(Sender).Caption;
ShellExecute(0, nil, PChar(str), Nil, Nil, SW_NORMAL);
TLabel(Sender).cursor := crHandPoint;
end;
procedure TAboutForm.FormCreate(Sender: TObject);
begin
Image1.Picture.Icon.Assign(application.Icon);
end;
end.