summaryrefslogtreecommitdiff
path: root/examples/gui/panel/panel_test.lpr
blob: 8ae13fff6c3b67ea14cdc13e29b116d419c0e60a (plain)
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
program panel_test;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Classes,
  fpg_main,
  MainForm;

procedure MainProc;
var
  frmMain: TfrmMain;
begin
  fpgApplication.Initialize;
  frmMain:= TfrmMain.Create(nil);
  try
    frmMain.Show;
    fpgApplication.Run;
  finally
    frmMain.Free;
  end;
end;

begin
  MainProc;
end.