summaryrefslogtreecommitdiff
path: root/examples/gui/reporting/pdf_demo.lpr
blob: f640cc501d3269903ac95f91f24379db37199026 (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
32
{ Demo program for PDF Reporting engine }

program pdf_demo;

{$mode objfpc}{$H+}

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

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

begin
  MainProc;
end.