DisableButton command

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


Disables the (currently enabled) button bar button that you specify. A disabled button performs no action and has gray text. You might want to disable a button to simplify the button bar display for a particular context.


disableButton buttonName 

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

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

See also the enableButton command.

Client menu: --
Introduced: Build 62