Basically I learned that I should not only look for ClassType, but also for MetaclassType: [WayBack] Not a major problem, but given that xProp is a TRttiProperty instance is there a better way to get the ClassType of a property that is tkClass? – Chad Hower – Google+:
Chris Rolliston
The
System.Rttiway is this –
x := xProp.PropertyType.AsInstance.MetaclassType;Been in since
TRttiContextwas first added, IIRC.
It indeed has been documented since Delphi 2010: [Archive.is] Rtti.TRttiClassRefType.MetaclassType – RAD Studio VCL Reference
–jeroen





