diff options
Diffstat (limited to 'examples/gui/gridediting/gridediting.lpr')
-rw-r--r-- | examples/gui/gridediting/gridediting.lpr | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/gui/gridediting/gridediting.lpr b/examples/gui/gridediting/gridediting.lpr new file mode 100644 index 00000000..fc21969d --- /dev/null +++ b/examples/gui/gridediting/gridediting.lpr @@ -0,0 +1,29 @@ +program gridediting; + +{$mode objfpc}{$H+} + +uses + {$IFDEF UNIX}{$IFDEF UseCThreads} + cthreads, + {$ENDIF}{$ENDIF} + Classes, fpg_main, fpg_form, frm_main; + + +procedure MainProc; +var + frm: TMainForm; +begin + fpgApplication.Initialize; + frm := TMainForm.Create(nil); + try + frm.Show; + fpgApplication.Run; + finally + frm.Free; + end; +end; + +begin + MainProc; +end. + |