How can I stop opening forms when starting the Delphi IDE

For my first stack overflow question, I have to ask you about this problem that I encountered with Delphi 2007 (I know this is old, but we cannot always choose what we code;)).

When starting my project, the IDE always opens a set of forms from my project.

For example, take a project in which I have 50 forms. Each time I open a project, the IDE opens some of these forms (they are always the same). My question is: is there a list somewhere in the options where you can put a list of forms to automatically open in Delphi at startup? I looked at 5 different forums about this, and I did not find anything. Is this some kind of configuration?

+7
delphi delphi-2007
source share
1 answer

Go to the menu "Tools-> Options" in the main menu.

Check the option "Autosave" → "Project desktop" and click "OK" to apply the change. Close the dialog box.

Return to the project. Close all files that you no longer want to open when you first load the project, and then use File-> Save All in the main menu. (The fastest way to close a file is to right-click the editor tab at the top and select "Close Page" in the context menu.)

The IDE will remember the forms that you opened when you saved the project, and will open them again the next time you load the project. To make sure that they are only the ones you want, close all forms that you do not want to open before exiting.

You can delete forms that open automatically, just making sure they are closed the next time you save the project. (And vice versa, you can add forms that you want to automatically open, just making sure they are open when the project is saved.)

+11
source share

All Articles