Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
About Creating Context Menus
This help page explains how user-defined context menus can be created and incorporated into the Maple context menu system for use on mathematical objects and expressions.
What is a Context Menu
Maple dynamically generates a context menu when you right-click (for Macintosh, Control-click) an object or expression. The actions available on the context menu depend on the properties of the object or expression.
To customize the default context menus, you can create a new, user-defined context menu system or append user-defined entries to the built-in context menu system.
Overriding the Default Context Menu System with a User-defined System
To create a user-defined context menu system:
1. Generate a new context menu module using the ContextMenu[New] command.
2. Define the actions to include in your context menu system, and add them to the context menu module. (See Creating Custom Context Menu Entries.)
3. Install the context menu system using the ContextMenu[Install] command.
If a user-defined context menu system is installed in the current session, it replaces the default system. As a result, only the actions included in the user-defined system are available. When you exit the Maple session, the user-defined system is removed from memory. To use it in future sessions, you must save it using the ContextMenu[Save] command.
For more information, see Creating a Context Menu System.
Appending User-defined Actions to the Default Context Menu System
To allow access to both your user-defined actions and the default context menu system:
1. Make a copy of the built-in context menu module using the ContextMenu[CurrentContext][Copy] command.
2. Define the actions to add to the context menu system, and add them to the context menu module. (See Creating Custom Context Menu Entries.)
For more information, see Appending Actions to the Context Menu System.
Restoring the Default Context Menu System
After installing a new context menu module, the default context menu system can be restored by using the ContextMenu[Install]() command.
See Also
Appending Actions to the Context Menu System, ContextMenu, ContextMenu Example Worksheet, ContextMenu[CurrentContext], ContextMenu[CurrentContext][Copy], ContextMenu[Install], ContextMenu[New], ContextMenu[Test], Creating a Context Menu System, Creating Custom Context Menu Entries, Overview of Creating Context Menus
Download Help Document