[fpc-devel] Interface delegation fix: backport to FPC 2.4.2 ...?

Florian Klaempfl florian at freepascal.org
Thu May 20 11:53:42 CEST 2010


Michael Van Canneyt schrieb:
> 
> 
> On Thu, 20 May 2010, Florian Klaempfl wrote:
> 
>> michael.vancanneyt at wisa.be schrieb:
>>>
>>> I need a solution that works with current GUI, current libraries and
>>> whatnot. What you propose is re-doing the work of 10 years, which is
>>> obviously not feasable.
>>
>> Can you give a real world example what you want to do with it?
> 
> Like I said, observe TMemo.Strings for changes.

Doesn't the OnChange event solve this for gui classes already?

> 
> Not every change. What you get notified about is defined by the class
> that uses the observable interface. 

Is this still an observer then?

> and TList/TObjectList as well.

They are no TPersistent descendents.




More information about the fpc-devel mailing list