Hi all:
I'm having the following problem. I would like to design a demonstration that uses different ranges of a variable depending on which button is pushed, for example:
 
Manipulate[
 a,
 {{b, 1}, {1, 2}},
 PaneSelector[{
   1 -> Control[{{a, -3}, -4, 1}],
   2 -> Control[{{a, 4}, 1, 5}]},
  Dynamic[b]
  ]
 ]
Here, the values for A depend on the choice for B. However, when changing from one b value to the other, the "initial value" for A doesn't reset, despite the fact that an initial value is assigned.
The only workaround I've found that seems to produce the effect I'm looking for is to do this:
 
Manipulate[
 Which[b == 1, a, b == 2, [Alpha]],
 {{b, 1}, {1, 2}},
 PaneSelector[{
   1 -> Control[{{a, -3}, -4, 1}],
   2 -> Control[{{[Alpha], 4}, 1, 5}]},
  Dynamic[b]
  ]
 ]
However, this gets very tedious with more sophisticated uses for A and alpha.
Anyone have a suggestion?
Thanks for the help!
Rob