Show TOC Start of Content Area

Object documentation Menu This graphic is explained in the accompanying text  Locate the document in its SAP Library structure

Definition

You can structure a MenuBar , a ContextMenu or a PopupMenu using Menus.

The figure below illustrates a PopupMenu with two Menus.

This graphic is explained in the accompanying text

Description of UI Element Properties

      enabled

Specifies whether a user can trigger an event.

      textDirection

Specifies the text direction and allows you to use subordinated UI elements for texts in languages which require a specific text direction. The textDirection property can take the following values and is represented by enumeration type WDTextDirection.

inherit

The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element.

ltr

The text runs from left to right.

rtl

The text runs from right to left.

The default value for this property is inherit.

      title

Describes the menu title.

      visible

Specifies whether the Menu is visible.

Properties Overview

Name

Interface

Type

Initial Value

Bindable

enabled

IWDMenu

boolean

true

bindable

textDirection

IWDMenu

WDTextDirection

inherit

bindable

title

IWDMenu

String

 

bindable

visible

IWDMenuItem

boolean

true

bindable

 

End of Content Area