EnableButton command

From m204wiki
Revision as of 02:11, 25 May 2022 by Ekern (talk | contribs) (Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Enables the (currently disabled) button bar button that you specify....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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