Workbench User Guide : 10. Creating and Modifying Menus : How You Can Create Menu Items : Create a Menu Separator
 
Share this page                  
Create a Menu Separator
A menu separator is a line divider that separates the individual components of a menu into groups. Menu separators are used for display purposes only. It has no events and its only property is the variable name for the separator.
In your 4GL code, you can use the variable name, in conjunction with the field function, to make the separator visible or invisible to the user.
To add a separator to a menu
1. Click Insert, Menu Separator in the Menu Editor.
2. Click at the top or bottom of an existing menu item, depending on where you want to place the separator.
The Menu Editor inserts a menu separator between the toggle field and menu list.
3. (Optional) Specify the separator's properties using the Property Inspector.
Note:  For complete descriptions of each menu separator property, see Common Menu Properties.
4. Exit the Menu Editor by clicking File, Close.
5. Click File, Save and Close in the Frame Editor to save your changes.
Menu Separator Properties
Menu separators have properties that are common to all menus and menu items. Therefore, all the properties for menu separators are described in Common Menu Properties.