Yep, that did the trick. Thanks!
On 2022-03-26 18:08, Bart via lazarus wrote:
Project->Options->Miscalleneous: uncheck "Main unit has uses section
containing all units of a project."
I think this is a per project setting and not globall.
--
Bart
--
__
On Sat, Mar 26, 2022 at 6:00 PM Timothy Groves via lazarus
wrote:
> Can anyone tell me how to stop Lazarus from
> doing this?
Yes, it's annoying.
Project->Options->Miscalleneous: uncheck "Main unit has uses section
containing all units of a project."
I think this is a per project setting and n
On 26/03/2022 18:00, Timothy Groves via lazarus wrote:
Good day. When I click on "New Pascal Unit" on the toolbar, or select
it from the menu, the new unit is automatically added to the uses
clause of my main program. Worse, the new unit is invariably added as
"unit1", even after I change the
Good day. When I click on "New Pascal Unit" on the toolbar, or select
it from the menu, the new unit is automatically added to the uses clause
of my main program. Worse, the new unit is invariably added as "unit1",
even after I change the name of the unit. I cannot seem to find a way
to supp