Vcl.Forms.TCustomForm.BeforeDestruction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure BeforeDestruction; override;

C++

virtual void __fastcall BeforeDestruction();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

Destruction event dispatcher.

BeforeDestruction is the dispatcher for the event that occurs immediately before the form object's destruction. As implemented in TCustomForm, BeforeDestruction calls the OnDestroy event handler, provided the OldCreateOrder property is false.

See Also