summaryrefslogtreecommitdiff
path: root/examples/gui/reporting/pdf_demo.lpr
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gui/reporting/pdf_demo.lpr')
-rw-r--r--examples/gui/reporting/pdf_demo.lpr29
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/gui/reporting/pdf_demo.lpr b/examples/gui/reporting/pdf_demo.lpr
new file mode 100644
index 00000000..9593287c
--- /dev/null
+++ b/examples/gui/reporting/pdf_demo.lpr
@@ -0,0 +1,29 @@
+{ 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;
+begin
+ fpgApplication.Initialize;
+ F_Demo:= TF_Demo.Create(nil);
+ try
+ F_Demo.Show;
+ fpgApplication.Run;
+ finally
+ F_Demo.Free;
+ end;
+end;
+
+begin
+ MainProc;
+end.