summaryrefslogtreecommitdiff
path: root/examples/gui/helloworld/helloworld.pas
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gui/helloworld/helloworld.pas')
-rw-r--r--examples/gui/helloworld/helloworld.pas22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/gui/helloworld/helloworld.pas b/examples/gui/helloworld/helloworld.pas
new file mode 100644
index 00000000..8151291a
--- /dev/null
+++ b/examples/gui/helloworld/helloworld.pas
@@ -0,0 +1,22 @@
+program HelloWorld;
+
+{$mode objfpc}{$h+}
+
+uses
+ fpGUI, fpGUI_laz;
+
+type
+ TMainForm = class(TForm)
+ TextLabel: TLabel;
+ lblClose: TLabel;
+ end;
+
+var
+ MainForm: TMainForm;
+
+begin
+ Application.CreateForm(TMainForm, MainForm);
+
+ Application.Run;
+ MainForm.Free;
+end.