RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenu.Destroy Destructor

Destroys the menu component.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TMenu();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!