2009/10/8 Graeme Geldenhuys <graemeg.li...@gmail.com>:
>
> Anyway what is the correct way of passing a class instance (object) to
> methods? Maybe this is my problem?

Actually, I don't think this is the issue. There was only two places
in my code where I pass the FLayout instance to external procedures. I
used to use 'const' parameters and then removed the 'const', meaning I
pass them by Value. This made no difference. My FLayout instances
still seems to loose it's type information at some point. :-(


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to