Site icon Python GUI

What is the ClassParent Method in Windows App Development?

featuredimage2 4

The ClassParent method or DelphiVCL.Application.ClassParent is used during Windows app development to return the type of the immediate ancestor of a class.

ClassParent returns the name of the parent class for an object instance or class reference. For TObject, ClassParent returns nil (Delphi) or NULL (C++).

Avoid using ClassParent in application code.

Let’s browse all the properties and methods of the DelphiVCL.Application.ClassParent using dir() command:

[crayon-663420a8db0b7454051302/]

See the responses in our Windows command prompt:

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

[crayon-663420a8db0c0741103300/]

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