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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

how to change the colour of button based on value?

schakravarthy
7-Bedrock

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.

Announcements


Top Tags