diff options
author | Andrew Haines <andrewd207@aol.com> | 2010-11-05 17:28:50 -0400 |
---|---|---|
committer | Andrew Haines <andrewd207@aol.com> | 2010-11-05 17:28:50 -0400 |
commit | e320dfae6add39c66ea554dbb161a844ee06db4d (patch) | |
tree | 78451d8f643babcfb50376c1b6a53da6ef5ff616 /examples/gui/gridediting/gridediting.lpr | |
parent | 917a2daf4ff769ad27631e6c71a7b919c47e4ecb (diff) | |
parent | 735aec8207036adb17f2174ffcb9056bee712ed3 (diff) | |
download | fpGUI-e320dfae6add39c66ea554dbb161a844ee06db4d.tar.xz |
Merge branch 'master' of ssh://fpgui.git.sourceforge.net/gitroot/fpgui/fpgui
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. + |