I would like to disable buttons programmatically depending on the current value. For example, on the calculator, some of the operations should be disabled when there is no left-value. Or for another example, I would like to only accept inputs between 1-37, and so when the user inputs 3, I would like to disable buttons 8 and 9.