Download Maple Programming Guide - Numerical Relativity Group at UBC

Transcript
490 • 12 Programming Interactive Elements
You can use a table to lay out the components in your document. To insert a table, from the
Insert menu, select Table. You can then insert buttons, plots, gauges, math, text, and so
on in each table cell.
Editing Component Properties
Embedded components can be programmed to accomplish specific tasks when mouse actions
are performed. For example, button components and sliders can be programmed to display
information when they are clicked or dragged, and a plot component can be programmed
to display points when it is clicked. To program an embedded component to perform a task,
you must edit the properties of the embedded component and, in most cases, provide the
code needed to accomplish the task.
For example, if you want to provide code for a button component, you would right-click
(Control-click for Macintosh) the button component that you inserted in your document
and select Properties. You would then click the Edit button beside Action When Clicked