Solved

Opening Screen

Posted on 1997-04-19
2
133 Views
Last Modified: 2010-04-04
I saw on many many programs like Netscape, MsWord and many many more, an opening screen that shows until the program loads itself.
Delphi programs are many times takes plenty of time until it loads itself and it really boring, so an opening screen can be helpful.
Please tell me how to do it !!!
0
Comment
Question by:urih
2 Comments
 
LVL 2

Accepted Solution

by:
alona041797 earned 200 total points
ID: 1335487
It's quite easy. In the main form's OnCreate event create and show the opening form, and then in the active event hide and destroy it.

Procedure TForm1.Form1Create(Sender:TObject);
begin
  openscreen:=topenscreen.create(nil);
  openscreen.show;
end;

Procedure TForm1.OnActivate(Sender:TObject);
begin
  openscreen.hide;
  openscreen.free;
end;
0
 

Author Comment

by:urih
ID: 1335488
10x!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Virtualstringtree carsh after invalidate for while 5 86
Delphi Form ownership 4 73
Run video youtube webbrowse 10 57
Convert MS Word document to a PDF file 9 63
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now