Skip to main content
4-Participant
July 19, 2024
Solved

Button disable state

  • July 19, 2024
  • 2 replies
  • 4088 views

Hi all,

 

I want to create this very simple logic... Disable a button for 3 seconds after clicked then enable again. It seems that this program has a way of making very simple logic ... complex for me.

Can anyone explain how this very basic feature can be implemented.

Best answer by Rocko

Something like this. The service is just a dummy for a longer running service.

2 replies

14-Alexandrite
July 22, 2024

You can use a autorefresh widget, enable the widget on click of button, configure it of 3 seconds, then on click of it enable the refresh and then the refresh widget can enable it again,

4-Participant
July 22, 2024

Okay, I will try to look into that. Thanks

Rocko
19-Tanzanite
July 22, 2024

May I ask, why 3 seconds?

4-Participant
July 22, 2024

Its because the button activates a lot of services and it need to align with a timer in order to update my data correctly. So I want to disable the use the possibility of executing the button again before its done.

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
July 22, 2024

Something like this. The service is just a dummy for a longer running service.