DisplayMenuAsRibbonBar

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