Runtime.ObjectClass

From Xojo Documentation

Read-Only Property (As String )
StringValue = aRuntime.ObjectClass(Index as Integer)

Supported for all project types and targets.

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.