<p style="padding:0 0 0 0; margin:0 0 0 0;">I noticed: if the main package file has the same name as the lpk than it is not listed in that lpk, right?</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">V.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">______________________________________________________________<br />
> Od: Mattias Gaertner via Lazarus <lazarus@lists.lazarus-ide.org><br />
> Komu: lazarus@lists.lazarus-ide.org<br />
> Datum: 07.01.2018 14:55<br />
> Předmět: Re: [Lazarus] Package filenames with _package<br />
></p>
On Sun, 7 Jan 2018 20:08:31 +0700<br />
Ondrej Pokorny via Lazarus <lazarus@lists.lazarus-ide.org> wrote:<br />
<br />
>[...]<br />
> >> The package unit can have a different name as the package. See<br />
> >> for example synedit. <br />
> ><br />
> > I didn't know this, and this is good to know ! <br />
> <br />
> I didn't know this either. Where can the pas file name be changed? I <br />
> can't find any entry in the Package Options dialog.<br />
<br />
Right click on an unit in the package editor and set File Type to "Main<br />
Unit". That is then the auto generated unit.<br />
<br />
Here is how to create a new package with this:<br />
<a href="http://wiki.freepascal.org/Lazarus_Packages#Create_a_package_with_a_unit_that_has_the_same_name_as_the_package">http://wiki.freepascal.org/Lazarus_Packages#Create_a_package_with_a_unit_that_has_the_same_name_as_the_package</a><br />
<br />
If you often need to create packages a custom main unit name, feel free<br />
to create a new package type or an initial setup dialog.<br />
<br />
<br />
Mattias<br />
-- <br />
_______________________________________________<br />
Lazarus mailing list<br />
Lazarus@lists.lazarus-ide.org<br />
<a href="https://lists.lazarus-ide.org/listinfo/lazarus">https://lists.lazarus-ide.org/listinfo/lazarus</a><br />