<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 07/01/18 14:35, Ondrej Pokorny via
Lazarus wrote:<br>
</div>
<blockquote type="cite"
cite="mid:33598441-b79a-cd29-bbfb-db242d41bf6f@kluug.net">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div class="moz-cite-prefix">On 07.01.2018 20:29, Vojtěch Čihák
via Lazarus wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20180107142920.5A634ADD@atlas.cz">
<p style="padding:0 0 0 0; margin:0 0 0 0;">Hi,</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">click
Package->New Package...</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">it immediately opens
Save dialog, where you choose filname. It saves xyz.lpk</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Then click Compile
and xyz.pas is autogenerated.</p>
</blockquote>
<br>
:D<br>
<br>
The question was: it saves xyz.lpk, where can I define that
abc.pas is autogenerated/used for xyz.lpk instead of xyz.pas?</blockquote>
<br>
I think, add a unit, select it in the list, right click it, and in
"file type" make it the "main unit"<br>
<br>
Maybe there is an easier way<br>
<br>
SynEditDsgn has this<br>
<br>
the auto generated unit is allsyneditdsgn.pas<br>
<br>
and the unit with registration is "syneditlazdsgn.pas" (see checkbox
at the bottom of package dialog.<br>
So this as afaik why the unit will be called from the autogenerated
unit.<br>
<br>
</body>
</html>