HyperWorks Desktop

*BeginBrowserContextMenu()

Defines a submenu for the context sensitive menu in the session browser.

*BeginBrowserContextMenu()

Defines a submenu for the context sensitive menu in the session browser.

Previous topic Next topic No expanding text in this topic  

*BeginBrowserContextMenu()

Defines a submenu for the context sensitive menu in the session browser.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*BeginBrowserContextMenu(label)

Argument

Name

Description

 

label

The label displayed when you right-click on the context sensitive menu.

Example

*BeginDefaults()

 

    *BrowserContextMenuItem("Turn On",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/general_context_menu_curve.tcl"},::general_curve_context_menu::on_selected_curves,curve)

    *BrowserContextMenuItem("Turn Off",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/general_context_menu_curve.tcl"},::general_curve_context_menu::off_selected_curves,curve)

    *BrowserContextMenuItem("Delete",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/general_context_menu_curve.tcl"},::general_curve_context_menu::delete_selected_curves,curve)

 

    *BeginBrowserContextMenu("Single Curve Math")

       *BrowserContextMenuItem("Integral",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/include/context_menu_curve.tcl"},::vst_curve_context_menu::integrate_curve,curve)

       *BrowserContextMenuItem("Double Integral",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/include/context_menu_curve.tcl"},::vst_curve_context_menu::dblintegrate_curve,curve)

       *BrowserContextMenuItem("Derivitive",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/include/context_menu_curve.tcl"},::vst_curve_context_menu::derivitive_curve,curve)

    *EndBrowserContextMenu()

 

*EndDefaults()

Application

HyperGraph.

Context

*BeginDefaults() block.

Comments

All *BeginContextMenuItem() statements within a *BeginBrowserContextMenu() block are contained under a common submenu.

See also

 

*BrowserContextMenuItem()

List of Preference Statements