Page 1 of 1

Project wizard bug - new project include file from old one

Posted: 22 Sep 2011 16:43
by sasa72
Opening any project and then create new, main .pas file from previously opened file would be included in new project, beside new main .pas. This perhaps only if new project is created in the same directory where the previous is.

Re: Project wizard bug - new project include file from old o

Posted: 23 Sep 2011 08:49
by filip
Hi,

I have tried what you said, opened a sample project (LCD example), created a new project called MyProject.
After that, I have looked at the Project Manager and I didn't see the main source file LCD.mpas in the MyProject project.
Only in the Code Editor both main source files are opened.

Regards,
Filip.

Re: Project wizard bug - new project include file from old o

Posted: 23 Sep 2011 12:20
by sasa72
filip wrote:Only in the Code Editor both main source files are opened.
If new project is created, preferable behavior is that all old project files where saved and closed and new fresh form is opened, since IDE is not MDI form/child based.

I see no practical reason to left opened old project main file. If that is made for purpose to copy some necessary code, that can be done simply by copy&paste before creating new project.

Re: Project wizard bug - new project include file from old o

Posted: 26 Sep 2011 08:24
by filip
Hi,

Ok, now I understand your inconvenience.
I will pass to our developers this report and they will analyze it.

Regards,
Filip.