Vcl.Forms.TForm.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

C++

/* TCustomForm.Destroy */ inline __fastcall virtual ~TForm() { }

Properties

Type Visibility Source Unit Parent
destructor public Vcl.Forms.hpp Vcl.Forms TForm

Description

Frees the resources allocated with a TForm instance.

Do not explicitly destroy form objects. Instead, use the Release method to free a form. Release waits until all event handlers have finished executing before destroying the form.