![]() |
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:
Egal wie ich es versuche. Die Form bleibt offen...
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. Gruß Thomas |
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