-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathunit14.pas
More file actions
87 lines (69 loc) · 2.65 KB
/
unit14.pas
File metadata and controls
87 lines (69 loc) · 2.65 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
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
(******************************************************************************)
(* *)
(* Author : Uwe Schächterle (Corpsman) *)
(* *)
(* This file is part of ImageInspector *)
(* *)
(* See the file license.md, located under: *)
(* https://github.com/PascalCorpsman/Software_Licenses/blob/main/license.md *)
(* for details about the license. *)
(* *)
(* It is not allowed to change or remove this text from any *)
(* source file of the project. *)
(* *)
(******************************************************************************)
Unit Unit14;
{$MODE objfpc}{$H+}
Interface
Uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Buttons;
Type
{ TForm14 }
TForm14 = Class(TForm)
BitBtn1: TBitBtn;
Button1: TButton;
Button2: TButton;
Button3: TButton;
CheckBox1: TCheckBox;
Edit1: TEdit;
Edit2: TEdit;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Procedure BitBtn1Click(Sender: TObject);
Procedure Button1Click(Sender: TObject);
Procedure FormCreate(Sender: TObject);
private
public
End;
Var
Form14: TForm14;
Implementation
{$R *.lfm}
Uses lclintf, unit1;
{ TForm14 }
Procedure TForm14.FormCreate(Sender: TObject);
Begin
caption := 'Options';
label1.caption := format('This is a %d-Bit Application', [sizeof(Pointer) * 8]);
End;
Procedure TForm14.Button1Click(Sender: TObject);
Begin
openurl(GetAppConfigDir(false));
End;
Procedure TForm14.BitBtn1Click(Sender: TObject);
Begin
showmessage(
unit1.Defcaption + LineEnding + LineEnding +
'Autor: Uwe Schächterle' + LineEnding +
'Contributor: Julian Bauknecht' + LineEnding +
'Homepage: www.Corpsman.de' + LineEnding +
'License: ' + LineEnding +
' This program is postcardware, see Homepage' + LineEnding +
' for futher details' + LineEnding +
'Warranty: There is no warranty!' + LineEnding +
'Description: ' + LineEnding +
' This tool is intended to measure distances' + LineEnding +
' and areas on images');
End;
End.