TForm.OnDestroy

From Free Pascal wiki
Jump to navigationJump to search

Overview

The OnDestroy event is used to perform special processing when the form is destroyed.

Note that you can either implement this event or override the destructor of the form; but do not do both.

This event should destroy any objects created in the OnCreate event.