Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: Re: ReExitDialog in ButtonfFunction

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23485] Re: [mg23448] Re: Re[mg23369] ExitDialog in ButtonfFunction
  • From: Jacqueline Zizi <jazi at club-internet.fr>
  • Date: Fri, 12 May 2000 22:54:24 -0400 (EDT)
  • References: <8etoij$mv7@smc.vnet.net> <200005100632.CAA17880@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com


David Bailey wrote:

>  It does not work in a button

Why not?.. It does work on my Mac G3 under Mac OS 8.6 and also on an old PC
486 DX2 under Windows 95...

Please tell exactly where in my answer _recalled in following_ the things that
does not work:


B) To have a button to do this job: here is a simple way .
1) menu Input > CreateButton>Evaluate will create a button. Filled it
with Return[].
2) select the cell with the button in
3) menu File> Generate Palette from Selection will make a palette with a
single button in it
4) click

David Bailey wrote:

>  Wolfram support offered the following (which works):
>
> ButtonBox["Resume", ButtonEvaluator -> None,
>     ButtonFunction :>  FrontEnd`ExitSubsession[Automatic],
>     Active -> True] // DisplayForm
>

Sure this works but it gives a Button in a notebook not in a floatting
palette.

If you want a button in a notebook my solution works as well. Unstead of  step
3) do the following:
3) Select the Button . Then  file menu >FormatOption Inspector> Active check
True.


Jacqueline Zizi



  • Prev by Date: Re: Re: subscripted symbols
  • Next by Date: Mathlink MLGetString in C++
  • Previous by thread: Re: ReExitDialog in ButtonfFunction
  • Next by thread: Multiple Headers in Complex Data File