How To Create Splash Screen



This tutorial shows how to create splash screen for Delphi Application

1.       Open Delphi
2.       Create new application,  File->New->Application

3.       Set Form1 as the Main Screen, set the caption of Form1 into “Main Screen”

4.       Create another Form,  File->New->Form

5.       Set the new Form properties as follow

6.       Add  Label component into FSplashScreen Form, and set the properties as follow



7.       Add Timer component into FSlashScreen Form, the objective is we want to have our splashscreen showing for 5 second. To have it set the properties as follow.

8.       Set Event for Timer component, and add script into the event

9.       Open “view unit” window, view->units…


10.   Select project1 to edit the code

11.   You will see the code as follow

12.   Now edit script in the project file, the result as follow

13.   Finish!, now its ready for test. Press F9 to run the program.

Related product you might see:

Share this product :
 
Delphi Programming Tutorial © Mang Yadi Site 2015