#1 2012-12-24 12:23:55

lele9
Member
Registered: 2011-10-28
Posts: 170

tcollection property from rtti

hi,
i have a tsqlRecord's property of TCollection descendant type.
I need to get this property value from rtti.
How can i do?
Thanks,
Emanuele.

Offline

#2 2012-12-27 08:01:07

lele9
Member
Registered: 2011-10-28
Posts: 170

Re: tcollection property from rtti

any suggestion?

Offline

#3 2012-12-27 09:58:29

lele9
Member
Registered: 2011-10-28
Posts: 170

Re: tcollection property from rtti

i found solution.

myColl := pointer(GetOrdProp(MyObj,pointer(GetPropInfo(MyObj.ClassType, aProperty.Name))));

Offline

Board footer

Powered by FluxBB