Vcl.ComCtrls.TCustomRichEdit.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TCustomRichEdit(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomRichEdit |
Description
Destroys an instance of 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.