Site icon Python GUI

What Is The DelphiVCL Application.CleanupInstance Method?

What Is The DelphiVCL ApplicationCleanupInstance Method

The DelphiVCL CleanupInstance method or DelphiVCL.Application.CleanupInstance is used to perform finalization on long strings, variants, and interface variables within a class.

Do not call CleanupInstance directly. CleanupInstance is called automatically when the object instance is destroyed.

CleanupInstance releases all long strings and variants. It sets long strings to empty and variants to Unassigned.

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

[crayon-662d9ee0dcb4c683209796/]

See the responses in our Windows command prompt:

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

[crayon-662d9ee0dcb58376573381/]

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