MathGroup Archive 2007

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

Search the Archive

dynamic values in docked cells

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80227] dynamic values in docked cells
  • From: Hannes Kessler <HannesKessler at hushmail.com>
  • Date: Wed, 15 Aug 2007 04:17:17 -0400 (EDT)

Hello,

the values of symbols in DynamicModule in Mathematica 6 is maintained
across different Mathematica sessions, for example

sliderRow = DynamicModule[{x=0.5}, Row@{Slider@Dynamic@x, Dynamic@x}]

One may change the slider position, close and reopen Mathematica and
find the slider position and value unchanged according to its last
value.

Is it possible to reproduce this feature in docked cells? The
following 2 lines generate a docked cell:

cell = Cell[BoxData   @   ToBoxes   @   sliderRow, "DockedCell"]
SetOptions[EvaluationNotebook[], DockedCells -> {cell}]

However, after closing and reopening Mathematica the slider position
and value is reset to its initial value.

Thanks in advance,
Hannes Kessler



  • Prev by Date: Re: Graphing an inequality
  • Next by Date: How to color each point in ListPlot?
  • Previous by thread: Re: TraditionalForm ordering
  • Next by thread: How to color each point in ListPlot?