Runtime.ObjectClass
From Xojo Documentation
Read-Only Property (As String )
ObjectClass returns the class of the passed object.
Notes
It takes ObjectNumber as its parameter, where ObjectNumber is greater than or equal to zero and less than ObjectCount.