[fpc-pascal] IFPObserved

Xiangrong Fang xrfang at gmail.com
Wed Sep 11 10:03:17 CEST 2013


Hi Michael,

 3) What are "Live Binding"?  What's the difference between "IFPObserved"
>> and the component events like OnCreate, OnShow, OnClick...?
>>
>
> See IFPObserved as a general event mechanism.



> The main difference is that a component can have only 1 OnCreate handler.
> whereas, in theory, an unlimited number of observers can observe one
> object.


OK, then who defines "changed"?  i.e. if I hook an event handler by using a
TComponent's FPOAttachObserver method, WHEN will my code gets called?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130911/b9379704/attachment.html>


More information about the fpc-pascal mailing list