Vcl.ActnMenus.TCustomActionMenuBar.RootMenu
Delphi
property RootMenu: TCustomActionMenuBar read FRootMenu write FRootMenu;
C++
__property TCustomActionMenuBar* RootMenu = {read=FRootMenu, write=FRootMenu};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TCustomActionMenuBar |
Description
Refers to the root menu of the ActionBand menu.
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.