Should look 

 Application.Initialize;
 Splash := TSplash.Create(Application);
 Splash.Show;
 Application.CreateForm(TForm1, Form1);
 Splash.Update;
 Splash.Free;
 Application.Run;

Make sure your splash form is not in Auto-create forms. Check Project ->
Options -> Forms

Mike

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ernesto Cisneros Sánchez
Sent: Saturday, 26 August 2006 6:33 AM
To: [email protected]
Subject: Splash screen

I need to insert in my App an Splash Screen.
 
I do as follow in the program code:
 
  Application.Initialize;
  Splash:= TSplash.Create(Application);
  Splash.Show;
  Splash.Update;
  Application.CreateForm(TForm1, Form1);
  Application.CreateForm(TSplash, Splash);
  Splash.Hide;
  Splash.free;
  Application.Run;
 
This will show the splash until the other forms are loaded but it do not
hide the windows...
It stays in the background even if I put the Splash.Hide and Splash.Free
property.
 
Any Idea on this???


==================================================
Este Mensaje ha sido escaneado por el Servidor de Correos de PRODAL y se 
confirma que esta libre de virus. 

Grupo SAD PRODAL.
==================================================
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to