summaryrefslogtreecommitdiff
path: root/examples/apps/uidesigner/tests/tabsheet_design.lpr
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-09-18 12:36:20 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-09-18 12:36:20 +0000
commit40017cfb19dc2b1a33c18d284a77a32f58d5184a (patch)
tree9925be5afafdf4ae8174bd234321f92970e7f2b9 /examples/apps/uidesigner/tests/tabsheet_design.lpr
parentc05f50235db45e54c3a581fe4d4eb3c49b453a22 (diff)
downloadfpGUI-40017cfb19dc2b1a33c18d284a77a32f58d5184a.tar.xz
* GUI Designer: Worked around the bug that crashed the Designer
when you load a form that contains a TfpgPageControl. * GUI Designer: Added a example project showing how you would design a for that contains a Page Control and a few TabSheets. The GUI Designer will be improved later to make it more WYSIWYG.
Diffstat (limited to 'examples/apps/uidesigner/tests/tabsheet_design.lpr')
-rw-r--r--examples/apps/uidesigner/tests/tabsheet_design.lpr30
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/apps/uidesigner/tests/tabsheet_design.lpr b/examples/apps/uidesigner/tests/tabsheet_design.lpr
new file mode 100644
index 00000000..7acb50aa
--- /dev/null
+++ b/examples/apps/uidesigner/tests/tabsheet_design.lpr
@@ -0,0 +1,30 @@
+program tabsheet_design;
+
+{$mode objfpc}{$H+}
+
+uses
+ {$IFDEF UNIX}{$IFDEF UseCThreads}
+ cthreads,
+ {$ENDIF}{$ENDIF}
+ Classes, fpgfx, tabtest;
+
+
+procedure MainProc;
+var
+ frm: TfrmTabTest;
+begin
+ fpgApplication.Initialize;
+ frm := TfrmTabTest.Create(nil);
+ try
+ frm.Show;
+ fpgApplication.Run;
+ finally
+ frm.Free;
+ end;
+end;
+
+begin
+ MainProc;
+end.
+
+