Re: [fpc-pascal] List published properties of a class

2014-02-28 Thread Sven Barth
Am 28.02.2014 12:33 schrieb "Joao Morais" : > > Em 09/02/14 18:05, Joao Morais escreveu: > >> >> Hello list. I need to list all published properties declared in a class, iow, removing properties inherited from the parent. >> >> Up to now I am iterating typinfo.GetPropList, starting at: >> >> GetTyp

Re: [fpc-pascal] List published properties of a class

2014-02-28 Thread Joao Morais
Em 09/02/14 18:05, Joao Morais escreveu: Hello list. I need to list all published properties declared in a class, iow, removing properties inherited from the parent. Up to now I am iterating typinfo.GetPropList, starting at: GetTypeData(PTypeInfo(TheClass.ClassParent.ClassInfo))^.PropCount;

[fpc-pascal] List published properties of a class

2014-02-09 Thread Joao Morais
Hello list. I need to list all published properties declared in a class, iow, removing properties inherited from the parent. Up to now I am iterating typinfo.GetPropList, starting at: GetTypeData(PTypeInfo(TheClass.ClassParent.ClassInfo))^.PropCount; and it works (fpc 2.6.2). TheClass will n