Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*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 2005

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

Search the Archive

Front End Help Browser Bug

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55254] Front End Help Browser Bug
  • From: "David Park" <djmp at earthlink.net>
  • Date: Thu, 17 Mar 2005 03:30:44 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Here are two animations.

frame[y_] :=
  Plot[Sin[x + y], {x, 0, 2Pi},
    Frame -> True,
    PlotRange -> {Automatic, {-1.2, 1.2}}]
Table[frame[y], {y, 2Pi/24, 2Pi, 2Pi/24}];
SelectionMove[EvaluationNotebook[], All, GeneratedCell]
FrontEndTokenExecute["OpenCloseGroup"]; Pause[0.5];
FrontEndTokenExecute["SelectionAnimate"]


frame[y_] :=
  Plot[Sin[x + y], {x, 0, 2Pi},
    Frame -> True,
    PlotRange -> {Automatic, {-1.2, 1.2}}]
Table[frame[y], {y, 2Pi/24, 2Pi, 2Pi/24}];
SelectionMove[EvaluationNotebook[], All, GeneratedCell]
FrontEndTokenExecute["OpenCloseGroup"]; Pause[0.5];
FrontEndExecute[{FrontEnd`SelectionAnimate[200, AnimationDisplayTime -> 0.1, 
      AnimationDirection -> Forward]}]

The only difference between the two pieces of code is the last statement that starts the animation. In the second case we can add animation control information and in the first we can't. (Or is there a way to include control information in the first form?)

Both pieces of code work properly in a notebook. But if they are included in a Help notebook and evaluated WITHIN the Help browser window, then the second piece of code causes fatal errors and total loss of window control when one tries to stop the animation by clicking. One ends up with pieces of text and graphics scattered all over the screen!

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/ 



  • Prev by Date: Re: Sum
  • Next by Date: Re: Re: Surface Normal
  • Previous by thread: Histogram and BinCounts inconsistency
  • Next by thread: How can I compute the Fourier transform of a unit disk and a unit ball analytically by using Mathematica?