TComponent.Destroying

Called when the component is being destroyed

Declaration

Source position: classesh.inc line 2118

public 
  procedure Destroying;

Description

Destroying sets the csDestroying flag in the component's state]() property, and does the same for all owned components.

It is not necessary to call Destroying directly, the destructor Destroy does this automatically.

See also

Name Description
Destroy Destroys the instance of the component.
State