diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-09-08 15:01:34 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-09-08 15:01:34 +0000 |
commit | 26cb129aeae6c69b9d5ca670c0ecee67429f0861 (patch) | |
tree | 3cc1542516fd4b49f9300d99c86630504a11ff3a /examples/apps/uidesigner/vfdforms.pas | |
parent | e6d2ec50bb37d5b92703e1852b814c90dd4d3204 (diff) | |
download | fpGUI-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.pas | 5 |
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: '); |