 
 
 
 
 
 
Docked cells and TagBoxNote / StatusArea
- To: mathgroup at smc.vnet.net
- Subject: [mg108497] Docked cells and TagBoxNote / StatusArea
- From: Simon <simonjtyler at gmail.com>
- Date: Sat, 20 Mar 2010 02:45:46 -0500 (EST)
Hi,
I have a notebook with a button in its docked cell.  I've been trying
and failing to make it put a message in the status area when you move
the mouse over it, a task that is easy with normal cells.
See the code below, where I've made it clear that the docked cell is
identical to the final cell.
With[{taggedcell=Cell[BoxData[TagBox[StyleBox["Move the mouse over
me!",FontFamily->"Times"],#&, TagBoxNote->"A note in the StatusArea
set by using TagBoxNote"]],"Text"]},
NotebookPut[Notebook[{
  Cell["Can DockedCells play nice with the
StatusArea?","Subsubtitle"],
  Cell["I want to have a button with a ButtonNote in the docked cell,
but:","Text"],
  Cell["As of Version 6.0, the ButtonNote option has been superseded
by the function StatusArea.","Text", Background->LightYellow],
  Cell["StatusArea generates a TagBox, so I should first try to get
that working...","Text"],
  taggedcell},
 DockedCells->{taggedcell}
]]]
Does anyone know a way of doing what I want to do? (or even just
improving the above code?)
Cheers,
Simon

