...go ahead and read the manual, we won't tell anyone.

Help Topics > All Properties > Enabled
Not Tagged

the enabled property is used to check if a button is active or inactive. The default for enabled it true.

Usage:

set [the] enabled of "button" to "boolean"

Example:

set the enabled of button 1 to false