RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomActionMenuBar.RootMenu Property

Refers to the root menu of the ActionBand menu.

Pascal
property RootMenu: TCustomActionMenuBar;
C++
__property TCustomActionMenuBar RootMenu;

Application menus frequently contain submenus. It is sometimes important to know what the root menu is of any given menu; for example, selecting an item on a submenu may require that some change be made to the root menu object. Use RootMenu to determine the root menu of any TCustomActionMenuBar object. 

 

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