Sign in Join
FPDoc Onlineexperiment

TMenuItem.Destroy destructor

Member of TMenuItempublicIn unit Menus

Destructor for the class instance.

Declaration

pascal
destructor Destroy; override

Description

Destroy is the overridden destructor for the class instance. Destroy ensures that resources allocated for the class instance are freed. This includes freeing the Bitmap, Handle, and any Items or Merged items for the menu item. It also removes itself from the Items for the Parent menu or menu item. Destroy calls the inherited destructor prior to exit.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.