Changing the color of a Rebol button
- by Dave Matuszek
I want to ask multiple choice questions in Rebol. Possible answers will be on buttons. I want to turn a button red when it is clicked and it is the wrong answer. When the correct button is pressed, I want to proceed to the next question.
I can change the color of a box (mybox/color: red show mybox). I can set up a toggle with two colors (but I can't change it based on the result of an arbitrary test (is the answer correct?).
It seems like there is probably a simple way to change the color of a button, without having to create my own button-like face objects. Isn't there?