MenuBar
A MenuBar is used
to display actions in a structure. The MenuBar is a toolbar that can be organized in
different blocks, the
Menus.
Under each block, you can organize
individual menu items or other menus.
Example of the Visual Display

Runtime Class |
CL_WD_MENU_BAR |
Properties in View Designer
Name |
Type |
Initial Value |
Bindable |
ID |
STRING |
(automatic) |
No |
WDUI_MENU_BAR_DESIGN |
standard |
Yes |
|
WDY_BOOLEAN |
true |
Yes |
|
Text |
|
Yes |
|
WDUI_VISIBILITY |
visible |
Yes |
|
STRING |
|
Yes |
Aggregations in View Designer
Name |
Cardinality |
Type |
0..n |

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:
For dynamic programming, the same properties, events and aggregations are available as in the View Designer. Bear in mind the different spellings.
Dynamic Programming of Properties
View Designer Name |
Runtime Name |
Type |
DESIGN |
WDUI_MENU_BAR_DESIGN |
|
design: standard |
CL_WD_MENU_BAR=>E_DESIGN-STANDARD |
|
design: transparent |
CL_WD_MENU_BAR=>E_DESIGN-TRANSPARENT |
|
ENABLED |
WDY_BOOLEAN |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_MENU_BAR=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_MENU_BAR=>E_VISIBLE-VISIBLE |
|
WIDTH |
STRING |
|
Dynamic Programming of Aggregations
View Designer Name |
Runtime Name |
Cardinality |
MENUS |
0..n |
There is a system example for this UI element in the DEMO_UIEL_MENU component in the DEMO_UIEL_MENUBAR application.
