?
Solved

How can disable special formcreate at startup?

Posted on 2003-03-15
4
Medium Priority
?
136 Views
Last Modified: 2010-05-19
Hi,
I have 4 forms  in my program ,one form in not  for users it is for administrator
For it I don’t want create this form in starting program.
How can disable this form at startup  and activate it when administrator needed?

Thanks in advance
m.reza
0
Comment
Question by:Imbeginner
[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
4 Comments
 
LVL 6

Expert Comment

by:DaFox
ID: 8142786
Hi.

Project -> Options -> Forms ... and switch your desired form from the right to the left box

Markus
0
 

Expert Comment

by:ssunko
ID: 8143065
Remember when you do this that when you want to use the admin form you will have to create it first.

adminForm := TadminForm.Create(AOwner);
adminform.show;
0
 

Accepted Solution

by:
rl912 earned 100 total points
ID: 8143906
Hello,

The first visible form in "Project - options - Forms" listed in the left box is the starting form which will be displayed on startup of your app.

Datamodules for example usually have to be first to make the data available on startup, but since a datamodule does not show, it can be the first in the list.

All forms in the left box will be created by default, those brought to the right box have to be created programmatically.
(For this it´s nice to copy the row from the appplication sourcecode where the form (dialog ...) is created, then paste it to the event (buttonclick ...).
then it can be shown and afterwards
released.


0
 

Author Comment

by:Imbeginner
ID: 8146334
thanks for your answer.
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

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 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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

801 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