Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica Technical FAQs Services & Resources / Mathematica / Notebook Interface
-----
 /
Buttons & Hyperlinks
*Mathematica
*Network Mathematica
*webMathematica
*gridMathematica
*Personal Grid Edition
*Wolfram Workbench
*Wolfram Education Group
*Application Packages
*Mathematica for Students
*Mathematica CalcCenter
*Publicon
*A New Kind of Science Explorer
*Mathematical Explorer
*Mathematica Teacher's Edition
*Calculus WIZ
*Mathematica Player
*Ask about this page
*Print this page
*Email this page
*Give us feedback
*
Sign up for our newsletter:

How do I create buttons with the kernel?

Buttons are ButtonBox expressions within a Cell expression. Any kernel command that generates cells, such as CellPrint, NotebookWrite, and DisplayForm can be used to make buttons.

The characteristics of the button are options of the ButtonBox or in the option ButtonBoxOptions for the Cell expression.

You can see the structure of the Cell expression by using the following menu item.

Format > Show Expression

on an existing button. For example,

In[1]:=
 

 
In[2]:=
 

 

and

In[3]:=
Out[3]//DisplayForm=
 

 

will generate slightly different versions of

 

 

Download this FAQ as a Mathematica 5.2 Notebook






 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja]