How to determine all super classes of a class

In other languages (e.g. ObjC) I can get a list of all super classes for a given class. I need the same for Xojo.

In my Cocoa Scripting bridge “framework”, I need to tell if a given object or class is a subclass of some other class other than “Object”, and I need to get its Introspection.TypeInfo.

I hoped Introspection would help, but that doesn’t seem to give me the super classes, as far as I can tell.

Any ideas?

BaseType and walk up the chain

Ugh, that’s exactly what I needed. I had looked again and again at the docs of TypeInfo and still didn’t see this one. My mind was apparently too set on finding something named “super” that prevented me from considering this one.