* * *

Author Topic: Start Lazarus without opening a project  (Read 2101 times)

PaulW

  • New member
  • *
  • Posts: 29
Start Lazarus without opening a project
« on: June 11, 2011, 01:02:38 am »
Ought to be easy, but I can't find anything in the documentation or on this forum regarding how to start Lazarus without opening a project.  Under Tools/Options/Environment/Files I can clear the "Open last project at start" check box; however, Lazarus always opens "project1".  How can I start Lazarus without any project being opened? Is there a parameter I can use with startlazarus in Windows and/or Linux?

Martin_fr

  • Hero Member
  • *****
  • Posts: 1218
Re: Start Lazarus without opening a project
« Reply #1 on: June 11, 2011, 02:20:18 am »
No, you can't.

Lazarus internal design forces it to always have a project open. (even if only a new, empty, unsaved project).

What do you want to do, where an open project is a problem?


lainz

  • Hero Member
  • *****
  • Posts: 635
    • WinDS PRO
Re: Start Lazarus without opening a project
« Reply #2 on: June 11, 2011, 04:08:08 am »
Ought to be easy, but I can't find anything in the documentation or on this forum regarding how to start Lazarus without opening a project.  Under Tools/Options/Environment/Files I can clear the "Open last project at start" check box; however, Lazarus always opens "project1".  How can I start Lazarus without any project being opened? Is there a parameter I can use with startlazarus in Windows and/or Linux?

There is no parameter i know.

If you want it report in the bugtracker.
Todos girão e girão, todos baixo do sol, se projeta na vida, borboleta technicolor.

Mariposa Tecknicolor
http://bit.ly/x3QYEG

PaulW

  • New member
  • *
  • Posts: 29
Re: Start Lazarus without opening a project
« Reply #3 on: June 12, 2011, 03:46:56 am »
OK.  Thanks for the responses.

There's nothing really that I want/need to do without a project open.  I'd just like to be able to open the project of my choice without first having to close "project1".  Can Lazarus be configured to start with the "Project Wizard" dialog open?

Martin_fr

  • Hero Member
  • *****
  • Posts: 1218
Re: Start Lazarus without opening a project
« Reply #4 on: June 12, 2011, 04:02:11 am »
There's nothing really that I want/need to do without a project open.  I'd just like to be able to open the project of my choice without first having to close "project1".  Can Lazarus be configured to start with the "Project Wizard" dialog open?

Don't know, but i don't think so.

But even if "project1" is open, or even if your last project was open; you would not need to explicitly close it.

If you go to "new project" or "open project" then it will automatically close it.
And if you didn't change the "project1" then it should close without any question.

Only drawback is, that you have a source-edit, and form1-design window on your screen....

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Start Lazarus without opening a project
« Reply #5 on: June 12, 2011, 08:56:09 am »
You can open the *.lpr file and it will start Lazarus with that project.  You could even write a small program that would list all of you project *.lpr files to make it more convenient.
Lazarus-1.1-37100-fpc-2.6.1-win64

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads