Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Problem beim Schließen meines Splash Screens (https://www.delphipraxis.net/40089-problem-beim-schliessen-meines-splash-screens.html)

Plague 10. Feb 2005 21:00


Problem beim Schließen meines Splash Screens
 
Hallo,

ich habe nach der Anleitung des Tutorials (aus der DP) einen Splash Screen programmiert. Er wird auch korrekt dargestellt nur nicht geschlossen.
Woran kann das liegen?

Hier alle Fälle wo geschlossen werden soll:
Delphi-Quellcode:
procedure TForm8.SetInitializationDone(const Value: Boolean);
begin
  FInitializationDone := Value;
  Close;
end;
Delphi-Quellcode:
procedure TForm8.Timer1Timer(Sender: TObject);
begin
  Form8.Close;
  Timer1.Enabled := false;
end;
Delphi-Quellcode:
begin
  Form8:= TForm8.Create(Application);
  try
    Form8.Show;
    Form8.Refresh;
    Application.Initialize;
    Application.Title := 'Netzwerk Server';
    Application.CreateForm(TForm1, Form1);
  finally
    [b]Form8.InitializationDone := True;[/b]
  end;
    Application.CreateForm(TForm5, Form5);
    Application.CreateForm(TForm6, Form6);
    Application.CreateForm(TForm7, Form7);
    Application.Run;
end.
Egal wie ich es versuche. Die Form bleibt offen...

Gruß
Thomas

Plague 10. Feb 2005 21:05

Re: Problem beim Schließen meines Splash Screens
 
Ich habe es nun gelöst!

Ich habe auch Form1 einen weiteren Timer gesetzt. Schafft es aus irgendeinem Grund...

Gruß
Thomas


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:50 Uhr.

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