[Lazarus] Strange dependency of units

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Mar 31 17:25:53 CEST 2012

On Sat, 31 Mar 2012 16:42:53 +0200
J├╝rgen Hestermann <juergen.hestermann at gmx.de> wrote:

> Mattias Gaertner schrieb:
>  > And the IDE has already some checks for common mistakes.
> Mistake? Using a self-written unit is a mistake? Not knowing that GRIDS 
> requires INTERFACES is a mistake?

You asked on which way Lazarus is and I gave examples where things are
getting easier. Of course there is always room for more helpers.

You made the mistake to use grids without an implementation (e.g. LCL

> Shouldn't GRIDS have a uses clause for INTERFACES?
> If yes, why is it not included?
> If no, why is this so?

I already tried to explain that. I'm not sure what you did not
understand about the concept of "abstract method". Maybe this helps:
The LCL "interfaces" is just one possible implementation. Theoretically
you can implement another one. At the moment the LCL unit "interfaces"
is the only supported one.
Theoretically it might be possible to use interfaces in grids, but
that would make many other things more complicated.


More information about the Lazarus mailing list