Skip to main content
1-Visitor
November 20, 2017
Question

how to change the colour of button based on value?

  • November 20, 2017
  • 2 replies
  • 1837 views

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

5-Regular Member
November 20, 2017

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

1-Visitor
November 20, 2017

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.