standardsetupmenu()

The standardsetupmenu( function generates a customizable Custom Menu specification for Panorama’s standard Setup menu.


Parameters

No parameters.


Description

This function generates a customizable Custom Menu specification for Panorama’s standard Setup menu in Panorama’s Live Menu Specification Language (LMSL). Use this when you want to include Panorama’s standard Setup menu as part of your custom menu bar:

standardfilemenu()+
standardeditmenu()+
standardrecordsmenu()+
standardsetupmenu()+
menu("My Custom Menu")+
    menuitem("Do something")+
    menuitem("Do another thing")+
    menuitem("Do something else")+

Customizing the Menu

Sometimes you may not want to use the standard Setup menu as-is, but rather want to customize it by adding your own menu items, or perhaps replacing or removing some existing standard menu items while leaving others alone. The standardsetupmenu( function includes a built-in version of the arrayhack( function that makes this easy to do. Simply add one or more pairs of search/hack parameters to specify the changes you want to make (see the arrayhack( function for an explanation of these parameters).

To learn the details of customizing the menu, see the standardfilemenu( function, which can be customized the exact same way.


See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but now allows the returned menu specification to be customized.