From ba3777d4c35ecdf196e0b9add276ec51f611689e Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 23 Sep 2010 14:32:12 +0200 Subject: Editable Grid Demo: a very quick example how inline grid editing. --- examples/gui/gridediting/gridediting.lpr | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 examples/gui/gridediting/gridediting.lpr (limited to 'examples/gui/gridediting/gridediting.lpr') 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. + -- cgit v1.2.3-70-g09d2