Vcl.Forms.TCustomForm.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TCustomForm(void);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| destructor | public | Vcl.Forms.pas Vcl.Forms.hpp  | 
        Vcl.Forms | TCustomForm | 
Description
Removes the form from memory.
Do not call Destroy. Instead, call Release, which indirectly produces a call to the Free method, which in turn calls Destroy.