Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Opening Screen

Posted on 1997-04-19
2
Medium Priority
?
143 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 400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

885 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