summaryrefslogtreecommitdiff
path: root/examples/apps/uidesigner/vfdforms.pas
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-09-08 15:01:34 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-09-08 15:01:34 +0000
commit26cb129aeae6c69b9d5ca670c0ecee67429f0861 (patch)
tree3cc1542516fd4b49f9300d99c86630504a11ff3a /examples/apps/uidesigner/vfdforms.pas
parente6d2ec50bb37d5b92703e1852b814c90dd4d3204 (diff)
downloadfpGUI-26cb129aeae6c69b9d5ca670c0ecee67429f0861.tar.xz
* GUI Designer: Minor changes and removed Boolean property editors for now. Will reinstate them later.
* GUI Designer: Added a sample project to show how you would add a Main Menu using the Designer and the Unknown component on the component palette.
Diffstat (limited to 'examples/apps/uidesigner/vfdforms.pas')
-rw-r--r--examples/apps/uidesigner/vfdforms.pas5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/apps/uidesigner/vfdforms.pas b/examples/apps/uidesigner/vfdforms.pas
index 7c8d4801..4e53e18e 100644
--- a/examples/apps/uidesigner/vfdforms.pas
+++ b/examples/apps/uidesigner/vfdforms.pas
@@ -396,8 +396,9 @@ end;
procedure TEditPositionForm.AfterCreate;
begin
inherited AfterCreate;
- WindowPosition := wpUser;
- SetPosition(0, 0, 186, 66);
+ WindowPosition := wpScreenCenter;
+ Width := 186;
+ Height := 66;
WindowTitle := 'Position';
lbPos := CreateLabel(self, 8, 8, 'Pos: ');