The OlapMenuFlags enumeration provides values for the modes of menu items in the OLAP Manager tree view.
Member | Description |
---|---|
mnuflagChecked | Indicates that a check mark is to be displayed next to a menu item. |
mnuflagDeleteKey | Enables the Delete menu item. Also enables the Delete button on the toolbar and the DELETE key on the keyboard. |
mnuflagDisabled | Menu item is disabled, but appears to be enabled. |
mnuflagDoubleClick | Reserved. |
mnuflagF1 | Reserved. |
mnuflagGrayed | Menu item is disabled. |
mnuflagInsertKey | Reserved. |
mnuflagNew | Enables the New menu item as a pop-up menu. Menu items added with this flag appear as child menu items when New is selected from the OlapTreeNode parent menu. |
mnuflagPopup | Indicates that a newly-defined menu item is a pop-up menu. Child menu items are displayed when the menu item is selected. |
mnuflagRegular | Places an item on the root menu of an OlapTreeNode. |
mnuflagSeparator | Indicates that the menu item is a separator bar. |
mnuflagSubmenu | Indicates that the menu item belongs to a child menu of the parent pop-up menu item. |
mnuflagTask | Enables the Task menu item as a pop-up menu. Menu items added with this flag appear as child menu items when Task is selected from the OlapTreeNode parent menu. |
OlapMenuFlags can be combined. For example, the following code identifies a menu item as a child menu item and then disables it:
mnuflagSubmenu + mnuflagDisabled