Solved

Main form

Posted on 1998-05-02
3
197 Views
Last Modified: 2010-04-06
I began writing this program some time ago. Since then Ive wanted to change the main form (Form1) to another form (Form2). How do I change the main form to the new form (Form2) so it shows first without the old main form (Form1) showing at the same time? (Now say that ten times really fast.............)
0
Comment
Question by:engtech
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 50 total points
ID: 1340494
By selecting options on the project menu, and selecting the forms tab, you can change the main form to any of your forms.  By default, Delphi only shows the main form when your app runs.  If any other forms are showing, you are probably calling their Show method from your main form.

(The exception is MDI windows.)

Cheers,
JB
0
 

Author Comment

by:engtech
ID: 1340495
But did you say it 10 times?
0
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1340496
Of course, and fast too!!  ;-)
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 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