Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   FreePascal (https://www.delphipraxis.net/74-freepascal/)
-   -   splashform und showmessage (https://www.delphipraxis.net/147423-splashform-und-showmessage.html)

khh 8. Feb 2010 08:16


splashform und showmessage
 
hallo zusammen,
mit

Delphi-Quellcode:

    Application.Initialize;
        splashForm := TSplashForm.Create(nil);
       SplashForm.ShowOnTop;
       Application.ProcessMessages; //need this line to allow display
       SplashForm.Update;
    .
    .
    .
    .
     
     login_pruefen;
     .
     .
     
      Application.CreateForm(Tmyform, myform);
      Application.Run;
zeige ich während des Programmstartes ein Splashform an.
in der Routine login_prüfen wird per ShowMessage(blabla');
eine Meldung angezeigt.

Unter Vista tritt jetzt folgendes auf:
der Text im message-fenster wird nicht angezeigt, unter XP aber schon.

kommentiere ich
//SplashForm.ShowOnTop;
aus, wird das Splash trotzdem angezeigt und auch die Meldung funtkioniert!

was ist hier falsch?

Gruss KH

Micha88 8. Feb 2010 08:19

Re: splashform und showmessage
 
Zitat:

was ist hier falsch?
Vista ;)

khh 8. Feb 2010 08:28

Re: splashform und showmessage
 
Zitat:

Zitat von MichaelLinden
Zitat:

was ist hier falsch?
Vista ;)

das weiss ich auch ;-)
davon abgesehen, was kann sonst noch die Ursache sein?


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:44 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