Autor Beitrag
AlexII
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 180



BeitragVerfasst: So 09.12.07 18:34 
Hallo!

Eine Frage: mein Programm wird immer in WindowState:=wsNormal gestartet. Wenn ich das Programm maximiere und so schließe wird es dann wieder normal geöffnet. Ich möchte es aber so haben, dass es so geöffnet wird, wie es geschlossen wurde.

Also maximiert geschlossen=maximiert geöffnet, verkleinert geschlossen=verkleinert geöffnet.

Danke!


Hab hier eine Link: www.dsdt.info/tipps/...p;search=WindowState

Das ist wahrscheinlich was für mich, oder?


Zuletzt bearbeitet von AlexII am So 09.12.07 19:19, insgesamt 2-mal bearbeitet
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 09.12.07 18:41 
Dann merk dir beim Beenden den Status, Position und Größe der Form, speichere diese Werte in eine Ini-Datei oder in die Registry, lese das bei Programmstart aus und setze die Werte entsprechend. Eventuell hilft auch dieser Thread weiter.

_________________
We are, we were and will not be.
AlexII Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 180



BeitragVerfasst: So 09.12.07 18:43 
Danke Dir :-)

Super Forum und User hier muss ich sagen :-)