DisableButton command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
|width="50%"| '''Action:'''
|width="50%"| '''Action:'''
|width="50%"|
|width="50%"|
<span class="f_Para">Disables the (currently enabled) [[Button bar|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. </span>
<span class="f_Para">Disables the (currently enabled) [[Button Bar|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. </span>


'''Syntax:'''  
'''Syntax:'''  

Revision as of 04:27, 29 November 2022

Action:

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.

Syntax:

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