RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMemo.Destroy Destructor

Destroys an instance of TCustomMemo.

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

Do not call Destroy directly in an application. Instead, call Free. Free checks that the TCustomMemo reference is not nil, and only then calls Destroy. 

Destroy frees the TStrings object that implements the Lines property before calling the inherited destructor. 

 

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