standardtextmenu(
)

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


Parameters

No parameters.


Description

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

standardfilemenu()+
standardeditmenu()+
standardtextmenu()+
standardsearchmenu()+
standardsortmenu()+
standardclassicsetupmenu()+
menu("My Custom Menu")+
    menuitem("Do something")+
    menuitem("Do another thing")+
    menuitem("Do something else")

Note: The Text menu is a “classic” menu which appeared in Panorama 5.5 and earlier. It is no longer included in Panorama’s standard menu bar but this function is available if you want the “classic” Panorama menu bar experience.

Customizing the Menu

Sometimes you may not want to use the standard Text 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 standardtextmenu( 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.