On Sat, 31 Mar 2012 16:42:53 +0200
Jürgen Hestermann <[email protected]> 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
interfaces).

> 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.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to