App Lab: Disable a button

For this app, instead of hiding a button, want to disable it. Is there a function to disable a button?

I’d recommend searching the forum before posting similar topics but this question should be answered here Advanced AppLab Features - #30 by josh