summaryrefslogtreecommitdiff
path: root/examples/gui/helloworld/helloworld.pas
blob: b99217560f761d66009cc0ea929bad727d9a97e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
program HelloWorld;

{$mode objfpc}{$h+}

uses
  fpGUI, fpguipackage;

type
  TMainForm = class(TForm)
    TextLabel: TLabel;
    lblClose: TLabel;
  end;

var
  MainForm: TMainForm;

begin
  Application.CreateForm(TMainForm, MainForm);
  
  Application.Run;
  MainForm.Free;
end.