Einzelnen Beitrag anzeigen

Geda

Registriert seit: 24. Jul 2015
20 Beiträge
 
Delphi XE8 Professional
 
#3

AW: MainForm kommt nicht in den Vordergrund

  Alt 16. Feb 2017, 13:58
Zur Run- oder Designtime gesetzt?

http://docs.embarcadero.com/products...nTaskBar.html:
Zitat:
If a change to default behavior is required, MainFormOnTaskBar should be set in the .dpr file after Application.Initialize and before main form creation. The MainFormOnTaskBar setting is intended to persist for the life of the application; later runtime changes of this property could result in unexpected behavior.

MainFormOnTaskBar defaults to True for applications created in Delphi 2007 and later products and False for earlier products.

The property can be applied to older applications. Note that it affects the Z-order of your MainForm in case your application depends on this.

To update existing VCL applications, add the following line to the project's .dpr file after Application.Initialize;:
Geert
  Mit Zitat antworten Zitat