How do I remove the MenuBar in WebMenu if I am not going to use it?
Answer
To remove of the built-in MenuBar object entirely, set the DisplayMode property on the MenuBar object to '0 - None'. For example: menubar.DisplayMode(DisplayModeConstants.None) Do not try setting each ShowMenuBarItem property to 'False'. This property is only useful in preventing certain Group objects from appearing on a MenuBar that you are using elsewhere. |