Re: ButtonBox and ButtonFuction
- To: mathgroup at smc.vnet.net
- Subject: [mg25533] Re: [mg25527] ButtonBox and ButtonFuction
- From: Jean-Marie THOMAS <jmt at agat.net>
- Date: Sat, 7 Oct 2000 03:35:38 -0400 (EDT)
- References: <200010060350.XAA24958@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Try this : <package> contains the function definition.
ButtonBox["init",
ButtonFunction:>Get[ <package>],
ButtonEvaluator->Automatic,
Active->True,
ButtonNote->"init"]}
On Fri, 06 Oct 2000, Christopher Deacon wrote:
> How do I get use the button functions to automatically evaluate a function.
> In other words, if
> I have a button which says "Click here to evaluate" and f is a function,
> what should the ButtonBox[] function look like? [The Mathematica Book does
> not have good examples]
>
> Chris
>
> --
> +-----------------------------+----------------------------+
> | Christopher Deacon | (709) 737-7631
> | Dept of Physics and Physical| cdeacon at physics.mun.ca
> | Oceanography
> | Memorial University of Nfld
> +----------------------------+-----------------------------+
> | http://www.physics.mun.ca/~cdeacon
> +----------------------------------------------------------+
- References:
- ButtonBox and ButtonFuction
- From: "Christopher Deacon" <cdeacon@physics.mun.ca>
- ButtonBox and ButtonFuction