Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 137
  • Last Modified:

How can disable special formcreate at startup?

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
Imbeginner
Asked:
Imbeginner
1 Solution
 
DaFoxCommented:
Hi.

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

Markus
0
 
ssunkoCommented:
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
 
rl912Commented:
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
 
ImbeginnerAuthor Commented:
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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now