
The ClassType method or DelphiVCL.Application.ClassType is used to return the class reference for the object’s class.
Note: ClassType dynamically determines the type of an object and returns its class reference, or metaclass.
Avoid using ClassType in application code.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.ClassType using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.ClassType) |
See the responses in our Windows command prompt:

You can also read short information about the DelphiVCL.Application.ClassType using the print() command:
1 2 |
print(DelphiVCL.Application.ClassType) print(DelphiVCL.Application.ClassType.__doc__) |
See the responses in our Windows command prompt:

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.