10. Creating and Modifying Menus : How You Can Create Menu Items : Pull-down and Slide-off Menus : Create a Slide-off Menu
 
Share this page                  
Create a Slide-off Menu
Slide-off menus work much like pull-down menus, except slide-off menus appear to the side of the menu button, instead of below it. You can create a slide-off menu using the Menu Editor, which you access from the Frame Editor.
Note:  If you have no buttons on your menu bar, first add a pull-down menu button. For more information, see Create a Pull-down Menu (see Create a Pull-down Menu).
To create a slide-off menu
1. Click Tools, Menu on the Frame Editor's floating menu bar.
The Menu Editor appears.
2. Add a pull-down menu in the layout area, as explained in Create a Pull-down Menu (see Create a Pull-down Menu).
3. Click Insert, Pull-down/Slide-off Menu.
4. Click at the top of the default menu button, “Button,” to insert a slide-off menu between it and the pull‑down menu, “Pull‑down.”
Note:  When you are inserting a new menu item, if you click the lower part of an existing menu item, the new item is inserted below the existing menu item. However, if you click the upper part of an existing menu item, the new item is inserted above the existing menu item.
Workbench creates a default slide-off menu, with a default label of “Slide-off,” and one menu button for the first item in the submenu, as shown here:
Note:  You can add additional items to the submenu, as you will see in other examples.
5. Select the slide-off menu and use the Property Inspector to set its properties, such as Name and TextLabel.
Note:  For complete descriptions of each slide-off menu property, see Common Menu Properties (see Common Menu Properties).
6. Add menu buttons, toggles, or lists on the pull‑down menu.
For information, see:
Create Menu Buttons (see Create Menu Buttons)
Create a Menu Toggle (see Create a Menu Toggle)
Create a Menu List (see Create a Menu List)
7. Use the Property Inspector to set each menu item's properties, including FocusBehavior, Name, SpeedKey, and TextLabel.
Note:  For complete descriptions of each menu item property, see the corresponding sections in this chapter and Common Menu Properties (see Common Menu Properties).
8. Close the Menu Editor.
9. Save your changes by clicking File, Save in the Frame Editor.