Vcl.StdCtrls.TCustomMemo.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TCustomMemo();

Properties

Type Visibility Source Unit Parent
destructor public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomMemo

Description

Destroys an instance of 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.

See Also