[Lazarus] unit not found: Unit1

Kjow antispammoni at gmail.com
Wed Apr 14 15:13:09 CEST 2010


Hi,

I started a new project and I saved to a folder renaming (Save as...)
the default "Unit1.pas" to "main.pas".

When I try to create a new event (double click on event, like Form
OnCreate) I get this error:

main.pas(8,49) Error: unit not found: Unit1

NOTE: the project compiles, builds and runs well and I can create all
events I want of components (like buttons "OnClick")

If I save the project leaving the default "uni1.pas" there are not problems.


I'm using Lazarus' r24617.

Regards,
Kjow




More information about the Lazarus mailing list