[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TComponent.Destroying

Called when the component is being destroyed

Declaration

Source position: classesh.inc line 1349

public procedure TComponent.Destroying;

Description

Destroyingsets the csDestroyingflag in the component's stateproperty, and does the same for all owned components.

It is not necessary to call Destroyingdirectly, the destructor Destroydoes this automatically.

See also

State

Destroy

  

Destroys the instance of the component.