Changing color of a Toggle Button

vjacobs

New member
Local time
Today, 09:09
Joined
May 29, 2012
Messages
9
Good afternoon all,
I was wondering if there was an easy way to change the color of a toggle button? If yes I want it green if no I want it red. Seems simple enough but can't find the right answer.
Thank you for your time :)
 
A toggle button can be created using a label and controlling its visible properties based on a value.

The visible properties of a toggle button needs to be considered carefully. Should the button show its current state or should it show the state it will assume if pressed?

Industrial screen based process control systems I have seen show the state it will assume if pressed. That means it will normally show its opposite state. An example is a button which opens or closes something. It the button shows OPEN then the device it controls is actually closed and will be opened if the button is pressed.

In the case of Yes = green and No= red then Yes would indicate that the current condition is No but the button’s colour would be green. It needs to be made clear to the user if the button is used to control something or indicate its current state.

An option group may be a better choice.

Chris.
 
Conditional formatting may be able to do this. Thats what I've used to change the color of a combo based on selection.
 

Users who are viewing this thread

Back
Top Bottom