Site icon Python GUI

Learn About DelphiVCL.Application.Destroying

featuredimage2 4

The Destroying method or DelphiVCL.Application.Destroying is used to indicate that the component and its owned components are about to be destroyed.

Destroying sets the csDestroying flag in the ComponentState property. It then calls the Destroying method for each owned component so that its csDestroying flag is also set. If csDestroying is already set, Destroying does nothing.

It is not necessary to call Destroying directly. Destroying is automatically called when the component is destroyed.

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

[crayon-662e6d7b16758720700629/]

See the responses in our Windows command prompt:

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

[crayon-662e6d7b16760598636833/]

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