Site icon Python GUI

Understanding DelphiVCL.Application.ControlDestroyed

featuredimage2 4

The ControlDestroyed method or DelphiVCL.Application.ControlDestroyed is used to notify the application when a control is destroyed.

ControlDestroyed is for internal use and is called automatically by TControl. Do not call it directly.

ControlDestroyed notifies the application that the control passed as the Control parameter has been destroyed, so that the properties which refer to controls, such as MainForm and ActiveCustomForm, can be updated to specify a valid object or nil (Delphi) or NULL (C++).

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

[crayon-662dcc6ced61e940613598/]

See the responses in our Windows command prompt:

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

[crayon-662dcc6ced627884755207/]

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