Thanks, It helped a lot to find the problem, but I do not understand why it happened.
It seems that the form was not belong to the project (even though I added it using New Form. After adding it to the project, it found the DataModule. Ido http://ik.homelinux.org/ On Fri, Nov 20, 2009 at 2:33 PM, Paul Ishenin <[email protected]> wrote: > ik wrote: > >> >> The first form will find the datasource components on dmDatabases unit, >> while the second form will not. >> >> What am I missing here ? >> > Lazarus has a different behavior comparing to Delphi. It does not search > for the available components in the uses section but it search in the > forms/datamodules of the project. > > Therefore possible your form1 is included into the project but form2 does > not. > > Best regards, > Paul Ishenin. > > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
