Is there a way to disable button WITHOUT shading to grey?

You will evidently need a few more blocks, but not a ton.

The idea is that, instead of disabling the button, you set a global variable, let’s call it “enable_button” and set it by default to true. When the button needs disabling, you set that variable to false instead of actually disabling the button.
Then in the button.click event block, you enclose ALL of the processing in a conditional block “if enable_button do”.
If the user clicks the button when enabled, which is the default, it works normally. But when “enable_button” is false, then the logic skips everything that the button would be doing, so is effectively defeated. You still can click it, but there will be zero effect.
Until “enable_button” is returned to true.

4 Likes