Vcl.Menus.TMenuItem.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TMenuItem();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TMenuItem |
Description
Destroys an instance of TMenuItem.
Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TMenuItem reference is not nil, and only then calls Destroy.