EnableButton command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


{|
{|
|width="50%"| '''Action:'''
|width="125px"| '''Action:'''
|width="50%"|
|width="575px"|
<span class="f_Para">Enables the (currently disabled) [[Button Bar|button bar button]] that you specify. A disabled button performs no action and has gray text.  </span>
<span class="f_Para">Enables the (currently disabled) [[Button Bar|button bar button]] that you specify. A disabled button performs no action and has gray text.  </span>



Revision as of 15:46, 30 January 2023

Action:

Enables the (currently disabled) button bar button that you specify. A disabled button performs no action and has gray text.  

The enableButton command affects only buttons that are disabled because they were specified in a previous disableButton command. If a button is disabled because its action is not appropriate in the current debugging context, enableButton does not enable the button. For example, after you cancel a request, the Cancel and Clear Breaks buttons are disabled, and an enableButton command for one of these buttons has no effect: the button remains disabled and no return message is displayed.

Syntax:

enableButton buttonName 

where buttonName is button0, button1, etc; that is, the name of a currently mapped button.

If the command executes successfully, you receive an Enabled button: buttonName message, and the button's label changes from gray text to black.

Client menu: --
Introduced: Build 62