RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TApplication.ControlDestroyed Method

Notifies the application when a control is destroyed.

Pascal
procedure ControlDestroyed(Control: TControl);
C++
__fastcall ControlDestroyed(TControl * Control);

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++). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!