Show: Delphi C++
Display Preferences

FMX.Forms.TCommonCustomForm.OnDestroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy;

C++

__property System::Classes::TNotifyEvent OnDestroy = {read=FOnDestroy, write=FOnDestroy};

Properties

Type Visibility Source Unit Parent
event public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TCommonCustomForm

Description

Occurs when the form is destroyed.

Use OnDestroy to perform special processing when the form is destroyed. Either implement this event or override the destructor of the class, but not both. This event should destroy any objects created in the OnCreate event.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance