[Lazarus] Uses Clause in LPR

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Fri Jun 10 17:26:33 CEST 2011



On Fri, 10 Jun 2011, Mattias Gaertner wrote:

> On Fri, 10 Jun 2011 17:06:12 +0200 (CEST)
> michael.vancanneyt at wisa.be wrote:
>
>>
>>
>> On Fri, 10 Jun 2011, silvioprog wrote:
>>
>>> 2011/6/10  <michael.vancanneyt at wisa.be>:
>>>> It is not a bug. It is correct behaviour.
>>>>
>>>> The LazSolutionsRT should have the 'add to uses clause' flag not set: in the
>>>> package dialog, choose options. then
>>>>
>>>> 'Package options' - 'Usage'
>>>
>>> I should leave it unchecked in (all) my package(s)?
>>
>> Usually, yes.
>> For IDE Design-time only packages, you can leave it on.
>
> Packages installed in the IDE ignore the flag. The package unit is
> always added.
>
> Maybe the default for new packages can be changed.

I think that would be a good idea.

Michael.




More information about the Lazarus mailing list