RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRichEdit.Destroy Destructor

Destroys an instance of TCustomRichEdit.

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

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

Destroy overrides the inherited method to destroy all the helper objects that were allocated to manage the rich text, before calling the inherited destructor. 

 

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