summaryrefslogtreecommitdiff
path: root/examples/apps/uidesigner/vfddesigner.pas
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-28 14:34:51 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-28 14:34:51 +0000
commit4ad8494dbcac9ab51fef6d734f61d6e94095f541 (patch)
treed70abc8ca9dba709ec62f43093de2824f0ab3493 /examples/apps/uidesigner/vfddesigner.pas
parent803045be7fa3489203eafbb48a61e41c0484c685 (diff)
downloadfpGUI-4ad8494dbcac9ab51fef6d734f61d6e94095f541.tar.xz
* Many big changes which removes bucket loads of compiler warnins. These will probably break code, but they are easy to fix in your own code.
* All Grid Columns and Rows are now Longword types and not Integer. We mixed them all over the place, even though the grids do not support negative rows or columns. * Fixed up the UI Designer because of previous change. Same goes for examples. * Made some changes to get fpGUI compilable under FPC 2.3.1 (latest trunk), but yet no fpGUI application runs yet. No idea why yet.
Diffstat (limited to 'examples/apps/uidesigner/vfddesigner.pas')
-rw-r--r--examples/apps/uidesigner/vfddesigner.pas6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/apps/uidesigner/vfddesigner.pas b/examples/apps/uidesigner/vfddesigner.pas
index 8e107ddf..1ab14a5d 100644
--- a/examples/apps/uidesigner/vfddesigner.pas
+++ b/examples/apps/uidesigner/vfddesigner.pas
@@ -145,6 +145,10 @@ implementation
uses
vfdmain, TypInfo;
+type
+ // used to get to SetDesigning() in Form Designer
+ TComponentFriendClass = class(TComponent);
+
{ TWidgetDesigner }
procedure TWidgetDesigner.SetSelected(const AValue: boolean);
@@ -1641,7 +1645,7 @@ begin
WindowPosition := wpUser;
WindowTitle := 'New Form';
SetPosition(300, 150, 300, 250);
- Include(ComponentState, csDesigning);
+// TComponentFriendClass(self).SetDesigning(True);
end;