why opening a pkg file must create a new proejct? lazarus / 13-General ---------------------------------------------------------------------- childem · 2012-03-28 10:54 it is very annoying. When opening a package file, i never need a new lcl application project  attached to it. why this must happen? I do not know how to change the setting. I am familar with delphi 7, laz is new to me. I use the latest version of laz Sorry for my bad english, and I beg your help. thank you in advance! ---------------------------------------------------------------------- User137 · 2012-03-28 11:02 Maybe it has something to do with that, it will use project settings for compiler. Same as if you Compile+Build All it would propably use optimizations etc that are set for currently open project? Well.. that's only reason i can come up with. ---------------------------------------------------------------------- JuhaManninen · 2012-03-28 11:52 Quote from: childem on March 28, 2012, 12:54:08 pmWhen opening a package file, i never need a new lcl application project  attached to it. why this must happen? I do not know how to change the setting. This is not exactly what happens. In fact you have a project open always, even if you don't open a package. Initially you get an empty default project automatically. You can do: Project -> Close Project, but then you only get a Project Wizard which lets you basically open or create a project. The fundamental reason is that all the IDE's session info is saved in a project. It was a design decision (long time ago) and could be done differently. It may be confusing in the beginning but it becomes a non-issue quickly because it does not prevent you doing anything with the IDE. You can even modify and run the default project without saving it (it gets saved to a temporary dir). Only when you explicitly save it, it becomes a "real" project. Juha ---------------------------------------------------------------------- childem · 2012-03-28 17:44 Thanks to User137 and JuhaManninen, thank you for your help, so now I understood it. Despite of the few differences between laz and delphi, laz is the great tool and has gone much beyond my expectation, and I think the differences are not a great matter to me if I more use it. Thank you again!