Condividi tramite


Menu Properties

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

The following table describes the properties available for menus under the Menus node in the Application Object Tree (AOT).

Property

Description

New in this version of
 Microsoft Dynamics AX

ConfigurationKey

Sets the configuration key for the menu.

CountryRegionCodes

Specifies the country region codes where the menu is applicable or valid. The client uses this property to enable or disable country or region specific features. This is implemented as a comma-separated list of ISO country codes in a single string. The values must match data that is contained in the global address book.

AX 2012

DisabledImage

Specifies the button image that appears when the menu is disabled. If this property is not set, the system generates a disabled image based on the setting for the NormalImage property.

AX 2012

DisabledImageLocation

Specifies the location of the image to use for a disabled control. You can use images found in a file, the Resources node of the AOT, or an EmbeddedResource.

The selection made in this property determines what values are used to populate the DisabledImage property. If the property is not set, the system generates a disabled image based on the setting of the ImageLocation property.

AX 2012

ImageLocation

Specifies the location of the image to use, You can use images found in a file, the Resources node of the AOT, or an EmbeddedResource. The selection made in this property determines what values are used to populate the NormalImage property.

AX 2012

Label

Sets the name of the menu that is displayed to the user.

MenuItemName

Specifies the menu item to include in the menu. The possible values depend on the value of the MenuItemType property.

AX 2012

MenuItemType

Specifies the type of the menu item. There are three categories of menu items:

  • Display

  • Output

  • Action

Selecting this value first determines the list of menu item names that will appear in the MenuItemName property drop-down list.

AX 2012

Model

Specifies the model that the menu is in.

A model is a logical grouping of elements in a layer. An element can be located in exactly one model in a layer. Examples of elements are a table or class. The same element can be located in a customized version in a model in a higher layer.

AX 2012

NormalImage

Specifies the image that will be used when the menu is enabled.

AX 2012

Parameters

Specifies one or more values passed to an object. These resemble the parameters passed to method. A parameter supplies a value that is then used to perform the task. There is no default value.

AX 2012

SetCompany

If set to Yes, every time that the menu is opened, the company changes to what it was when the menu was first started.

Shortcut

Specifies the keyboard shortcut that opens the menu. For example, you press Ctrl+F3 to open the menu. There is no default value.

AX 2012

ShowParentModule

Specifies whether to update the Navigation pane based on the parent module of the menu item. The possible values are as follows:

  • Yes –Always update the Navigation pane based on the parent module of the menu item.

  • No – Leave the Navigation pane unchanged, even if the parent module of the menu item may differ from the current module.

The default value is Yes.

AX 2012

See also

How to: Create Menus and Menu Items

Menu Item Properties

Properties of AOT Elements