cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

how to change the colour of button based on value?

schakravarthy
6-Contributor

how to change the colour of button based on value?

Hi,

Is there any way to change the colour of the button from green to red for displaying the start and stop of lines in the shop floor.

2 REPLIES 2

Hi Swetha, you can do that with the State based formatting see Style and State Definitions for more detail

Hi, yes you can do it with State Based formatting, but you should use ValueDisplay widget instead of a button, as button widget doesn't supports State Based Formatting.

Top Tags