Showing own logo on start-up

It's pretty simple.

Create a form and put the logo on it using a Timage component. My example below assumes you have created a logo form called "logoform" Go to your project options and set the form to NOT be autocreated.

Then in your PROJECT.DPR file just after the begin statement do something like the following:


  logoform := TLogoform.Create(nil);

  logoform.Show; { NOTE! show! NOT showmodal }

 

  .

  . { Do other app startup stuff here like open databases etc... }

  .

 

  . { Just after the block of code that creates all your forms and

  before the Application.Run statement do: }

 

  logoform.Hide;

  logoform.Release;