Button.SetEnabled

Button.SetEnabled ( 

string  ObjectName,

boolean Enabled = true )

Example 1

Button.SetEnabled("Button4", true);

Enables the button object named "Button4."

Example 2

Button.SetEnabled("My Lovely Little Button", false);

Disables the button named "My Lovely Little Button."

See also:  Related Actions