2022 April Release

Class COODESK@1.1:Menu Permanent link for this heading

Class Hierarchy

Object > ComponentObject > Menu

An object of this class defines a menu or a menu entry. A menu has a list of menu entries or menus. A menu entry has an action assigned that is invoked when the menu entry is selected. An object of this class stores the information of the menu or menu entry respectively including the name of the menu (entry), the description displayed in the status line, the accelerator, and the invoked action.

Additional Information

Properties Permanent link for this heading

Type

Property

Name

Accelerator

menuaccel

Accelerator

Action

menuaction

Action

Menu

menubefore

Display Menu Before

ComponentObject[]

menuentries

List of Menu Entries

Action

menugetaction

Action to Build Dynamic Menu

boolean

menuisgroup

Display as Group

LanguageStringList[]

menulongtext

Text for Task Pane

LanguageStringList[]

menustatetext

Text for Status Line

UIEnvironment[]

menuuienviron

Only for User Interface

ScopeAssignment[]

menuuiscope

Only for Scope

LanguageStringList[]

mlname

Multilingual Name

Action

taskgetaction

Action to Build Dynamic Task Panes

boolean

taskseldependent

Selection Dependent

WeightedMenuEntryList[]

weightedmenuentries

List of Weighted Menu Entries

Action

weightedmenugetaction

Action to Build Dynamic Weighted Menu