Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Form Dynamisch erstellen (https://www.delphipraxis.net/169870-form-dynamisch-erstellen.html)

mcinternet 17. Aug 2012 13:47

AW: Form Dynamisch erstellen
 
Zitat:

Zitat von mcinternet (Beitrag 1178617)
Zitat:

Zitat von DeddyH (Beitrag 1178615)
Für Delphi 5 sehe ich da keine schnelle Lösung, ab Delphi 2007 gibt es dafür die Property MainFormOnTaskbar.
Zitat:

When Delphi first came out it used multiple free floating windows that all worked in concert with one another where the "main" window contained the menus and toolbars. When you minimized the main window the rest of the IDE's windows disappeared and likewise when you restored they all came back.
Ich würde ja den entsprechenden Code aus der Forms.pas zitieren, aber das wäre Emba sicherlich nicht Recht.

Sorry - hab hier nicht Delphi 5, sondern XE2 :)

Gruss

Mc

Aber auch mit dieser Property reicht das leider nicht aus. Minimiere ich die Main-Property, dann sind alle klein.

Gruss
Mc

DeddyH 17. Aug 2012 14:14

AW: Form Dynamisch erstellen
 
Hmm... und wenn man einfach ein Dummy-Formular erstellt, das zur MainForm macht und Application.ShowMainForm auf false stellt? Dann müsste man nur das bisherige MainForm noch dynamisch erzeugen und in dessen OnClose Application.MainForm schließen, wenn ich keinen Denkfehler mache. Ist zwar ein bisschen dirty, könnte aber klappen.


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:12 Uhr.
Seite 2 von 2     12   

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