On 6 May 2010 10:53, Juha Manninen <[email protected]> wrote: > > It is kind of dirty trick but now when think of it, it is rather reliable if > the class structure doesn't change completely.
It's the only way to sometimes get to protected methods or fields. Plus, if the two classes are not related, the FPC compiler will give you a warning - so it is rather safe to use. So I wouldn't regard it a "dirty trick" but simply a way of getting to what you need. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
