[Lazarus] Ok I give up!

Juha Manninen juha.manninen62 at gmail.com
Sat Mar 2 16:42:56 CET 2013


On Sat, Mar 2, 2013 at 4:38 PM, Hans-Peter Diettrich
<DrDiettrich1 at aol.com> wrote:
>> Code completion finds the Lines property without problems.
>
> How is this helpful in finding the property, which finally implements Clear
> or some other task?

First you find Lines, then you find Clear. It is very helpful. :)

Your idea of using interface for method delegation is actually good.
It is actually the only elegant way to duplicate those methods on
TMemo.
I like the idea of extending LCL components instead of only imitating
VCL like a monkey ... which brings us to FireMonkey ... Delphi itself
moved to a more modern library design already.

Using interfaces in a library requires proper design and thinking.
Interfaces must be created for core functionality and injected to many
classes. It is certainly doable. Java did it.
Lots of effort is required to do it properly though.


Regards,
Juha




More information about the Lazarus mailing list