HyperWorks Desktop

*BeginMenu()

Indicates the beginning of a menu block.

*BeginMenu()

Indicates the beginning of a menu block.

Previous topic Next topic No expanding text in this topic  

*BeginMenu()

Indicates the beginning of a menu block.

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

Syntax

*BeginMenu(var_name, label)

Arguments

Name

Description

 

var_name

The variable name of the menu (currently not used)

 

label

The label of the menu to appear in the interface.

Example

*BeginDefaults()

  *BeginPlotDefaults()

     *RegisterTemplexFunction("Filter_functions.tpl")

     *BeginMenu(filter_menu,"Filter")

        *MenuItem(dummy,"Batch General", MACRO, macro_batch)

        *MenuItem(dummy,"Batch Mirror", MACRO, macro_batchmir)

        *MenuItem(dummy,"Butterworth", MACRO, macro_butter)

        *MenuItem(dummy,"FIR100", MACRO, macro_fir)

        *MenuItem(dummy,"Freq Domain Diff", MACRO, macro_fdd)

        *MenuItem(dummy,"IR", MACRO, macro_ir)

        *MenuItem(dummy,"Resample", MACRO, macro_sample)

        *Separator()

        *MenuItem(dummy,"SAE60", MACRO, macro_sae60)

        *MenuItem(dummy,"SAE180", MACRO, macro_sae180)

        *MenuItem(dummy,"SAE600", MACRO, macro_sae600)

        *MenuItem(dummy,"SAE1000", MACRO, macro_sae1000)

        *MenuItem(dummy,"SAE General", MACRO, macro_sae)

        *MenuItem(dummy,"SAE Mirror", MACRO, macro_saemir)

     *EndMenu()

  *EndPlotDefaults()

*EndDefaults()

Application

MotionView, HyperView, HyperGraph, TextView, and MediaView.

Context

*BeginDefaults

*BeginPlotDefaults

*BeginGraphicDefaults

*BeginTextEditorDefaults

*BeginModelDefaults

Comments

A *BeginMenu() block may be placed inside a *BeginMenu() block to create submenus.

Every *BeginMenu() statement requires a closing *EndMenu() statement.

Menus placed within a *BeginModelDefaults(), *BeginGraphicDefaults(), *BeginPlotDefaults(), or *BeginTextEditorDefaults() block are added only to the corresponding window mode.

See also

 

*MenuItem()

List of Preference Statements