[Lazarus] New project type: how to open unit automatically

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 10 16:20:26 CEST 2011


On Fri, 10 Jun 2011 15:35:29 +0200
Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:

> On 10/06/2011 15:12, Mattias Gaertner wrote:
> > 
> > Creating a new project should close all open files.
> > Can you send me the package?
> 
> It's included in the fpGUI repository in the 'extra/lazarus_ide/'
> directory. I attached that directory archived to this email.
> 
> The package in question is 'fpgui_ide.lpk'
> 
> - It registers the new project type correctly.
> - It creates the new project correctly.
> - It references the 'fpgui_toolkit' package as a
>   project requirement correctly.
> - It just doesn't open the project1.lpr file, so the
>   developer stares at an empty looking Lazarus IDE (no
>   editor window visible).

The IDE now opens the main source if no secondary sources were created.

Mattias




More information about the Lazarus mailing list