Method XbpDialog():menuBar() Foundation

Installs an XbpMenubar object in the XbpDialog window.

Syntax
:menuBar() --> oXbpMenubar
Return

This method returns an XbpMenubar object used to display and manage a menu bar within the XbpDialog window.

Description

The method :menuBar() creates an XbpMenubar object that has already been installed in the XbpDialog window. A menu system must be created for the XbpMenubar object using the:addItem() method. The menu system is then visible and can be activated within the XbpDialog window.

Windows requires that AppDesktop() is used as parent for an XbpDialog window when a menu system is installed in the dialog.

An XbpDialog window must have a menu system if other dialogs (MDI client windows) are embedded in to it. An MDI client window, however, cannot have its own menu system under Windows.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.