Site icon Python GUI

What is the ClassInfo Method in DelphiVCL.Application?

featuredimage2 4

The ClassInfo method or DelphiVCL.Application.ClassInfo is used to return a pointer to the run-time type information (RTTI) table for the object type.

ClassInfo provides access to the RTTI table for a given object type.

Some classes do not provide run-time type information. For these classes, ClassInfo returns nil (Delphi) or NULL (C++). All classes descended from TPersistent do provide run-time type information.

Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.ClassInfo using dir() command:

[crayon-662df074b2878593867686/]

See the responses in our Windows command prompt:

You can also read short information about the DelphiVCL.Application.ClassInfo using the print() command:

[crayon-662df074b2887265933846/]

See the responses in our Windows command prompt:

 

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

Exit mobile version