What is the best way to implement splash screen in Delphi?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create a form, make it’s
FormStyle=fsStayOnTop, set it’s border style to none and it’s caption to blank. This will create a form that doesn’t have a caption bar at the top. Drop aTImageon the form and load your bitmap into it.Drop a TTimer on the form (this will be used to make sure the splash screen stays up for at least some period.
Here’s the code I have in my splash form:
In the FormCreate:
In your project file, do something like this:
(most of this code was written off the top of my head, it might not compile right off the bat)