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

# TComponent.BeforeDestruction

Overrides standard BeforeDestruction.

## Declaration

Source position: classesh.inc line 1961

`public procedure TComponent.BeforeDestruction; override;`

## Description

BeforeDestruction is overridden by TComponent to set the csDestroying flag in TComponent.ComponentState

## See also

TComponent.ComponentState |  | Current component's state.

Documentation generated on: May 14 2021