Sign in Join
Wiki copytemporary

TForm.OnDestroy

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.


From the Free Pascal wiki, page "TForm.OnDestroy", as it stood on 2022-07-16 after a change by Mario13, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.