-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathUnit1.pas
More file actions
48 lines (39 loc) · 978 Bytes
/
Unit1.pas
File metadata and controls
48 lines (39 loc) · 978 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
41
42
43
44
45
46
47
48
unit Unit1;
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.Effects, FMX.Controls.Presentation, FMX.Objects, FMX.Layouts;
type
TForm1 = class(TForm)
MaterialOxfordBlueSB: TStyleBook;
ToolBar1: TToolBar;
Label1: TLabel;
ShadowEffect4: TShadowEffect;
Timer1: TTimer;
GridPanelLayout1: TGridPanelLayout;
Rectangle1: TRectangle;
Rectangle2: TRectangle;
Rectangle4: TRectangle;
MessageLabel: TLabel;
Layout1: TLayout;
procedure Timer1Timer(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
FCursor: String;
end;
var
Form1: TForm1;
implementation
{$R *.fmx}
procedure TForm1.Timer1Timer(Sender: TObject);
begin
if FCursor='' then
FCursor := '_'
else
FCursor := '';
MessageLabel.Text := 'Delphi is awesome'+FCursor;
end;
end.