If the control is not displayed, it is effectively disabled. A click in the area where it appeared (or rolled in and out of this area), if it was visible, would not trigger an event.
EDIT: To clarify, based on other answers and comments, the button is not disabled, and the basic functions of the events are still available programmatically, but the button will not be physically accessible / visible in the form, and the user will not be able to interact with it in any way (if you as a programmer, do not suggest another method programmatically).
Michael todd
source share