Re: [fpc-pascal] IFPObserved

2013-09-11 Thread Graeme Geldenhuys
On 2013-09-11 07:02, Xiangrong Fang wrote: > > Where can I find detailed documentation on IFPObserved? It forms part of the Observer design pattern. The Observer design pattern works the same, irrespective of which language was used to implement it. So any Observer design pattern documentation sh

Re: [fpc-pascal] IFPObserved

2013-09-11 Thread Michael Van Canneyt
On Wed, 11 Sep 2013, Xiangrong Fang wrote: 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 comp

Re: [fpc-pascal] IFPObserved

2013-09-11 Thread Xiangrong Fang
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 the

Re: [fpc-pascal] IFPObserved

2013-09-11 Thread Michael Van Canneyt
On Wed, 11 Sep 2013, Xiangrong Fang wrote: Hi Michael, Thanks a lot for the explanation.   I am not familiar with a few concepts in your description, such as: 1) What are "CORBA" style interfaces?  I know CORBA and DCOM are for distributed or remote object call.  Are they still significant

Re: [fpc-pascal] IFPObserved

2013-09-11 Thread Xiangrong Fang
Hi Michael, Thanks a lot for the explanation. I am not familiar with a few concepts in your description, such as: 1) What are "CORBA" style interfaces? I know CORBA and DCOM are for distributed or remote object call. Are they still significant in local object system? 2) Why an interface has

Re: [fpc-pascal] IFPObserved

2013-09-10 Thread Michael Van Canneyt
On Wed, 11 Sep 2013, Xiangrong Fang wrote: Hi All, Where can I find detailed documentation on IFPObserved?  This page only defines the interface but not telling about the purpose of this interface: http://www.freepascal.org/docs-html/rtl/classes/ifpobserved.html My questions are: - what i

[fpc-pascal] IFPObserved

2013-09-10 Thread Xiangrong Fang
Hi All, Where can I find detailed documentation on IFPObserved? This page only defines the interface but not telling about the purpose of this interface: http://www.freepascal.org/docs-html/rtl/classes/ifpobserved.html My questions are: - what is this interface for? - any example on when and w