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.