UI Designer provides an intuitive interface for adding menus and menu items to your UI designs. Any existing top level menu item can become the parent of a submenu simply by typing an entry into the submenu text edit field.
If this UI Design contains any Menu Bar components, they will be displayed in the non-layout region.
NOTE If the design does not contain any existing menus, you must first add the menu to this design and then add items to the menu before you can add a submenu to it.
Figure 1 shows a UI Design which contains one Menu Bar, named menuBar1.
Figure 1 - A UI Design which contains a single Menu Bar, menuBar1.
As shown in Figure 2, the menu will be displayed at the bottom of the content region of your UI Design. Any existing items in this menu will be displayed. A place for a new item will be indicated by the text "Type here".
Figure 2 - A selected menu is ready for the addition of new items.
A submenu will appear to the right with the first item labeled "Type here", as shown in Figure 3.
Figure 3 - A selected menu is ready for the addition of new items.
The 'Type here' text will be displayed in an edit-enabled box.