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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Button

esnigirev
1-Newbie

Button

Hello, i have a question about my mashup. I have a button which changes color when i klick it(from green to red). I get value (throw WIFI value on property changes(it depends from arduino)), this value is 1 or 0. I want to do like if value comes 0 button would not klicked, if i have value 1  button will clicked. How can I do it?

1 REPLY 1
supandey
19-Tanzanite
(To:esnigirev)

Egor, Button widget has a boolean type property called Disabled have you tried enabling it? This will disable the button and user will not be able to click

You can set it based on the state or value to enable to disable it.

Top Tags