Greetings Ernesto,
I'm not exactly sure what you are referring to so I'll take my best guess.
Here are a few things I noticed with your code.
1) You are creating the splash screen yourself with the following:
Splash:= TSplash.Create(Application);
2) You also must have it in your AutoCreate forms as I see it again in this
line:
Application.CreateForm(TSplash, Splash);
I would suggest you remove it from the autocreate
3) I use Spalsh.Refresh instead of Splash.Update, not sure if that makes any
difference
4) Lastly I call the Splash.Hide and Splash.Frre in the OnActivate of the
main form instead of the project source.
But my best guess is you are creating the form twice, once in the project
source and then again on the autocreate.
Mike
----- Original Message -----
From: "Ernesto Cisneros Sánchez" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, August 25, 2006 3:33 PM
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