For this Control
inside Manipulate
(using Setter
or RadioButton
):
Control[{{opt,"A"},{"A","B","C"},Setter}]
Is it possible to make the color of the selection change? So if "A" is selected the button is Blue, while "B" and "C" are black.
I read this post about a Button
changing colors when clicked and tried to do something similar for my situation but I couldn't get it to work.
Control[{{opt,"A"},{"A","B","C"}}]
. I don't think you can add theSetter
part.Control
doesn't take options as far as I know, but if you select the setter you can change its background color in the Option Inspector. $\endgroup$Control[{{opt, "A"}, {"A", "B", "C"}, ControlType -> Setter}]
then in another cell evaluateDynamic[opt]
and observe this second cell as you click on the labels in theSetter
$\endgroup$