API:Vcl.Menus.TPopupMenu.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TPopupMenu();

Properties

Type Visibility Source Unit Parent
destructor public
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TPopupMenu

Description

Destroys the menu component.

Vcl.Menus.TPopupMenu.Destroy inherits from Vcl.Menus.TMenu.Destroy. All content below this line refers to Vcl.Menus.TMenu.Destroy.

Destroys the menu component.

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TMenu reference is not nil, and only then calls Destroy. Destroy frees the Items property, and then calls the inherited Destroy method.

See Also