summaryrefslogtreecommitdiff
path: root/examples/gui/helloworld/helloworld.pas
blob: 8151291ad24525f15423beb0ae829f4aa72acf0d (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, fpGUI_laz;

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

var
  MainForm: TMainForm;

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