TForm.OnDestroy

From Free Pascal wiki
Revision as of 14:43, 16 July 2022 by Mario13 (talk | contribs) (Created page with "== 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 dest...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.