Table of Contents
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:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.InstanceSize) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.InstanceSize using the print() command:
1 2 |
print(DelphiVCL.Application.InstanceSize) print(DelphiVCL.Application.InstanceSize.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.