| 
 |  | 
To define the following behavior:
| Command available on a menu | include a menu clause defining the menu | 
| Action when the user chooses a menu command | include a menu_item clause defining the command | 
| Cascade menu when the user chooses a menu command | include a pull_off_menu clause in the menu_item definition | 
| Dividing line between commands on a menu | include a dividing_line or thick_dividing_line clause in the menu definition | 
| Command that is disabled if not applicable | include a enable_if clause in the menu_item clause for the command | 
See also: