IsHierarchical property
Indicates whether a menu, menu item, or toolbar item is hierarchical, that is, it contains a drop-down menu containing more items, which can be accessed through its own MenuItems or ToolbarItems collection menu.
Version added
4.0
Syntax
| |
intRet |
Integer. True (-1) if the object represents a hierarchical menu, menu item, or toolbar item; otherwise, False (0). |
object |
Required. An expression that returns a Menu, MenuItem, or ToolbarItem object. |
Remarks
The value of the CmdNum property of a MenuItem object that represents a hierarchical menu should be zero (0).