[fpc-devel] Interface delegation - workaround?

Graeme Geldenhuys graemeg.lists at gmail.com
Tue May 19 17:16:38 CEST 2009


On Tue, May 19, 2009 at 4:55 PM, Michael Van Canneyt
<michael at freepascal.org> wrote:
>
> The difference is that you have access to the THook methods/properties.
> THook just 'happens' also to implement the interface you need.

Ah, I get it now. So with delegation of a class you get two-in-one.
Access to the class methods and properties and it resolves the
interface implementation.  Thanks. :-)


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list