Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Form [Falsche Position] (https://www.delphipraxis.net/98876-form-%5Bfalsche-position%5D.html)

Störtebeker 3. Sep 2007 14:08


Form [Falsche Position]
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hallo,

ich arbeite mit der Form im bsNone- und Maximiertzustand. Problem ist, dass die Form beim Start sich in die rechte, untere Ecke klemmt. Wie auf dem Bild zu sehen. Kennt ihr da ne Lösung, oder wisst ihr, woran das Problem liegen könnte?

Thx.

mfG
Störtebeker

arbu man 3. Sep 2007 14:11

Re: Form [Falsche Position]
 
Setze die Form doch einfach manuell:
Delphi-Quellcode:
Left := 0;
Top := 0;
Width := Screen.Width;
Height := Screen.Height;
Und schon ist die Form überall!

mfg, Björn

Luckie 3. Sep 2007 14:11

Re: Form [Falsche Position]
 
Stell mal im OI die Positionseigenschaft von poDesigned auf poScreencenter.

Störtebeker 3. Sep 2007 14:15

Re: Form [Falsche Position]
 
Danke "arbu man". Der Tipp hat gefunzt. :thumb:

P.S.: Normalerweise geht es auch so mit DesktopCenter bzw. Screencenter in Verbindung mit maximiert. Nur manchmal scheint Delphi so ne Macke zu haben und knallt die Form nach start einfach in die Ecke.

Aber nochmals Danke.


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:43 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz