The ClassNameIs method or DelphiVCL.Application.ClassNameIs is used to determine whether an object is of a specific type when you develop windows software.
ClassNameIs determines whether an object instance or class reference has a class name that matches a specified string. This is useful to query objects across modules or shared libraries.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.ClassNameIs using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.ClassNameIs) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.ClassNameIs using the print() command:
1 2 |
print(DelphiVCL.Application.ClassNameIs) print(DelphiVCL.Application.ClassNameIs.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.