Jump to content
ŁukaszDe

Stop showing MainForm after load project

Recommended Posts

Hi,

 

Does anybody know any existing tool with option to disable showing MainForm DFM of project after it open?

 

Thanks.

Share this post


Link to post

How about this (in the dpr):
 

Application.ShowMainForm := False; // <-- insert this line
Application.Run;

 

Share this post


Link to post

I don't want show MainForm in IDE after open existing project.

Share this post


Link to post

What i do:

Fiddle with the "Autosave" option.

Close all "heavy" forms before closing the project.

Not optimal but works for me most times.

HTH

Share this post


Link to post
24 minutes ago, Attila Kovacs said:

Maybe because I have Autosave Project Desktop on?

Habits and expectations differ, so setting this option to ones personal favor is not bad in the first place. There is only one thing to remember when switching that off: The project desktops are opened in the state they were last saved.

 

To solve your problem:

  • switch this option on
  • load a project
  • close all forms
  • close the project
  • switch option off again

 

  • Like 1

Share this post


Link to post

Ok, thanks.

When I download a source code from SVN/GIT and then open it in IDE then again MainForm will be showed...

A better solution would be to have an option for this in any IDETool eg DDevExtension 🙂

Share this post


Link to post

This is environmental. The behaviour you describe is not what I encounter. We need to understand your environment and workflow. 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×