MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Q: Can I create a button function ?

  • To: mathgroup at
  • Subject: [mg18833] Q: Can I create a button function ?
  • From: xingjing at (Xingjing Li)
  • Date: Thu, 22 Jul 1999 08:19:42 -0400
  • Organization: The Math Forum
  • Sender: owner-wri-mathgroup at

Dear fellow mathgroup members:

I am trying to create a Mathematica notebook as a calculator type
application for our project. I put some buttons such as fraction,
square root,  integration, differentiation etc. inside the notebook
and an editable cell which works as the work and result window. I also
put in a "Clear" button which  I want to clear the contents in the
editable window when I click it. But I can not find a function which
can clear the cell but keep the original notebook open. I tried to
write some button functions which I hope can replace the cell with
blank cell or close the old, edited notebook then open an identical
new notebook. But none of them worked. How can I achieve this goal by
create my own Button Function and where should  I keep this function?
I suspect that I can not keep it with my notebook but somewhere with
the system files. Is there a place I can find some sample code for
create button functions? I am using V3.0.1 on Power Mac.

TIA for any help,

X. Jing Li

  • Prev by Date: blah::usage and BeginPackage
  • Next by Date: Re: HDF export
  • Previous by thread: Re: blah::usage and BeginPackage
  • Next by thread: RE: Q: Can I create a button function ?