In this post, you’ll learn more about FreeOnRelease method or DelphiVCL.Application.FreeOnRelease is used to free the interface reference for components that were created from COM classes. FreeOnRelease is called when an interface implemented by the component is released. FreeOnRelease is used internally and calls the corresponding interface method. It should not be necessary to call FreeOnRelease directly.
Learning more about FreeOnRelease Method allows you to easily build GUIs with Python Windows GUI Builder.
Table of Contents
How to examine the properties and methods of DelphiVCL.Application.FreeOnRelease?
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.FreeOnRelease using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.FreeOnRelease) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.FreeOnRelease using the print() command:
1 2 |
print(DelphiVCL.Application.FreeOnRelease) print(DelphiVCL.Application.FreeOnRelease.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.