On Sunday 05/01/2014 at 11:51 pm, Alejandro Gonzalo  wrote:





Is there someway else to do that?
Yes, simply use RTTI (Runtime Type Information). See the typinfo unit. I've also created an unit for the tiOPF project - it is full of extended RTTI helper methods that could make the work much easier. See the tiRTTI.pas unit. [http://sourceforge.net/p/tiopf/code/ci/tiopf2/tree/Core/tiRTTI.pas] Those helper/utility methods could easily be adapted to exclude any tiOPF dependencies.

Regards,
 Graeme




--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to