Solved

Opening Screen

Posted on 1997-04-19
2
137 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Printing problem 2 124
Reconfigure Delphi Install? 2 78
Tvertscrollbox like a whatsapp layout 5 69
TAction.OnAfterExecute? 2 32
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

751 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