2012/11/29 Graeme Geldenhuys <gra...@geldenhuys.co.uk>: > Hello luiz, > > Thursday, November 29, 2012, 12:31:41 PM, you wrote: > >> BTW: Graeme already pointed, that the Observer methods should be >> public. Does not makes sense to protect methods that are exposed by an >> interface. > > When did I say that? [Though my memory has been failing me once or > twice. :)]
In the message of the example observer: " 1) I would probably surface the IFPObserver methods to Public. Though there is good arguments to not do it either - thus you are forced to use correct interface usage... via Supports(), getting a interface pointer back, and using that interface pointer to make method calls. " Luiz _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel