Applies to
Window controls
Description
Whether to display a menu as a ribbon bar in the MDI frame window. This property is only effective to MDI and MDIHelp window type.
Values are:
TRUE -- Displays the menu as a ribbon bar.
FALSE -- (Default) Does not display the menu as a ribbon bar.
Data type
Boolean.
Usage
In a painter
To display a menu as a ribbon bar:
-
Select the DisplayMenuAsRibbonBar check box on the General page of the window's Properties view.
In scripts
This property takes a boolean value. The following example specifies that the menu in w_mdi will display as a ribbon bar.
w_mdi.DisplayMenuAsRibbonBar = TRUE
Note
When enabling or disabling DisplayMenuAsRibbonBar at
runtime, you must first close all open sheet windows in the current
MDI/MDIHelp frame. This prevents layout conflicts: If sheet windows
remain open, redrawing the ribbon bar or menu and activating a sheet can
trigger extra redraws that may lead to incompatibility issues.


