Sign in Join
Wiki copytemporary

TForm.OnDestroy: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: TForm.OnDestroy

OldNewLine
1+## Overview
2+
3+The **OnDestroy** event is used to perform special processing when the form is destroyed.
4+
5+Note that you can either implement this event or override the destructor of the form; but do not do both.
6+
7+This event should destroy any objects created in the OnCreate event.
8+
9+---
10+*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](/wiki-contact).*

Back to history