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