Site icon Python GUI

What You Need To Know About The InstanceSize Method

DelphiVCLApplicationHintPause documentation

What is DelphiVCL.Application.InstanceSize?

In this post, you’ll learn more about InstanceSize or DelphiVCL.Application.InstanceSize method returns the size in bytes of each instance of the object type.

InstanceSize indicates how many bytes of memory are required for a class’s instance data. InstanceSize is called from methods that allocate and deallocate memory. InstanceSize is not a virtual method, so it cannot be overridden. InstanceSize should be called only when implementing a custom version of NewInstance.

Learning more about the InstanceSize method will help you build python applications with Delphi VCL Applications using Python Build Tools.

What are the methods and built-in properties of the DelphiVCL.Application.InstanceSize?

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

[crayon-662cc6497276b467695726/]

See the responses in our Windows command prompt:

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

[crayon-662cc64972772697596380/]

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