title: How can I disable a button temporarily?
body: <p>I have a button that increments the value in a textbox. Every time this value changes, there is an event that runs some code. However, this textbox value gets accessed by the event thread multiple times during the execution. How can I ensure that a second button click will not throw off the calculations?</p>