Replacing the existing menu with an empty one
After the RibbonBar is applied, the previous menu will no
longer be used in the application. You can create an empty menu and
assign it to the MDI window, as a menu is required for all MDI frame
windows (the MenuName property for the MDI window must be
set).
-
Use New > PB Object > Menu to create a new menu
object. It is unnecessary to define any menu item for the menu
or attach any script to it. If you do add a menu item, make sure
the item shall be set to invisible. -
Assign the empty menu to the MDI window.
In the Sales Demo application, we created the menu object
m_mdi_none and assigned it to the MDI window. The menu object
contains one main menu and one submenu. Note that the submenu item
is set to invisible.