setButtonEnabled

Parameters

cmd

the command corresponding to the button

enabled

true if you want the button to be enabled, false otherwise