EnableButton command

From m204wiki
Revision as of 15:46, 30 January 2023 by Ekern (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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.


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