Sign in Join
Wiki copytemporary

OnCreate

Overview

The OnCreate event is used to perform special processing when the form is created and is invoked by TCustomForm's constructor.

Note that you can either implement this event or override the constructor of the form; but do not do both. Any objects created in the OnCreate event should be freed by the OnDestroy event.


From the Free Pascal wiki, page "OnCreate", 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.