You can edit or add Maple code to an embedded component to specify an action performed when the embedded component is selected or altered. This Maple code is edited or added through a Code Editor.
Summary of Available Actions for Embedded Components
Editing Embedded Component Code in the Code Editor
Name of Action
Components that Perform This Action
Edit Value Changed Code
perform a specified action when the value of the component is altered.
Rotary Gauge, Volume Gauge,Slider, Meter, Dial
Edit Click Code
perform a specified action when component is clicked
Button, Radio Button, Check Box, Plot
Edit Recording Start Code
performs an action when the recording starts
Edit Recording End Code
performs an action when the recording stops
Edit Data Available Code
performs an action when data is available from the storage buffer of the recording
Edit Dragged Code
performs an action when the mouse is dragged in the plot component
Edit Drag End Code
performs an action when the mouse is released from dragging in a plot component
Edit Hover Code
performs an action when the mouse hovers in a plot component
Edit Select Code
performs an action when the value inside the component is selected
List Box, Combo Box
Edit Content Changed Code
performs an action when the contents in the embedded component change
Data Table, Text Area, Toggle Button
performs an action when the marker is reached during playback
To edit the component code for an embedded component action:
Select the embedded component.
In the Context Panel for the embedded component, click the button for the component action code.
(Alternatively, from the Edit menu, select Component Code. A menu is displayed that contains a list of component actions. Select the desired action to modify from the list of available actions.)
Edit or add your component code in the Code Editor window.
In the Code Editor window, from the File menu, select Save Code.
For more details, see the help pages for the individual embedded components.
Code Edit Region
Download Help Document
What kind of issue would you like to report? (Optional)