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 Programm wird in Taskleiste doppelt angezeigt. (https://www.delphipraxis.net/140764-programm-wird-taskleiste-doppelt-angezeigt.html)

johnmuller 25. Sep 2009 17:03


Programm wird in Taskleiste doppelt angezeigt.
 
Hallo,

ich bin gerade auf Delphi2010 umgestiegen und war erstaunt, dass meine Projekte nach dem Start alle doppelt in der Taskleiste vertreten waren.
Hier der Projekt-Quellcode:

Delphi-Quellcode:
   
SplashForm := TSplashForm.create(nil);
SplashForm.show;
SplashForm.update;
application.Initialize;
application.MainFormOnTaskBar := true;
application.CreateForm(Tdm, dm);
application.CreateForm(THauptForm, HauptForm);
application.Run;
Wenn man SplashForm rausnimmt, ist alles ganz normal. In Delphi2007 ist das bisher ebenfalls kein Problem gewesen.
Was ist hier falsch?

Gruß Uli

Nachteule 25. Sep 2009 17:30

Re: Programm wird in Taskleiste doppelt angezeigt.
 
Zitat:

application.MainFormOnTaskBar := true;
wird zu
// application.MainFormOnTaskBar := true;
oder
application.MainFormOnTaskBar := false;

johnmuller 26. Sep 2009 07:40

Re: Programm wird in Taskleiste doppelt angezeigt.
 
Klar, so geht es als Workaround, aber das kann ja nicht die Lösung sein.

Gruß Uli


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:46 Uhr.

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