RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.Destroy Destructor

Removes the form from memory.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TCustomForm();

Do not call Destroy. Instead, call Release, which indirectly produces a call to the Free method, which in turn calls Destroy. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!