-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUnit2.pas
More file actions
40 lines (32 loc) · 774 Bytes
/
Copy pathUnit2.pas
File metadata and controls
40 lines (32 loc) · 774 Bytes
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
unit Unit2;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Layouts, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo;
type
TForm2 = class(TForm)
Layout1: TLayout;
Layout2: TLayout;
Memo1: TMemo;
ImageControl1: TImageControl;
ImageControl2: TImageControl;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form2: TForm2;
implementation
{$R *.fmx}
procedure TForm2.FormCreate(Sender: TObject);
begin
if FileExists('readme.txt') then
begin
Memo1.Lines.Clear;
Memo1.Lines.LoadFromFile('readme.txt');
end;
end;
end.