RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenuItem.GetParentMenu Method

Returns the main menu of which the menu item is part.

Pascal
function GetParentMenu: TMenu;
C++
__fastcall TMenu GetParentMenu();

GetParentMenu returns the menu that contains the menu item. 

 

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