DisableButton command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Disables the (currently enabled) button bar button that you specify....")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


{|
{|
|width="50%"| '''Action:'''
|width="125px"| '''Action:'''
|width="50%"|
|width="575px"|
<span class="f_Para">Disables the (currently enabled) [[review_common_buttons.html|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:'''  
Line 10: Line 10:
<p class="syntax">disableButton ''buttonName'' </p>
<p class="syntax">disableButton ''buttonName'' </p>


<span class="f_Para">where </span><span class="f_EmphItal">buttonName</span><span class="f_Para"> is </span><span class="f_Monospace">button0,</span><span class="f_ListBul1"> </span><span class="f_Monospace">button1,</span><span class="f_Para"> etc; </span><span class="f_ListBul1">that is, the name of a currently </span><span class="f_Para">[[intro_configurable_components.html#named_buttons|mapped]] </span><span class="f_ListBul1">button. </span><span class="f_Para"> </span>
<span class="f_Para">where </span><span class="term">buttonName</span><span class="f_Para"> is </span><span class="f_Monospace">button0,</span><span class="f_ListBul1"> </span><span class="f_Monospace">button1,</span><span class="f_Para"> etc; </span><span class="f_ListBul1">that is, the name of a currently </span><span class="f_Para">[[Introducing the configurable components#Named buttons and separators|mapped]] </span><span class="f_ListBul1">button. </span><span class="f_Para"> </span>


<span class="f_Para">If the command executes successfully, you receive a </span><span class="f_Monospace">Disabled button: </span><span class="f_MonoItal">buttonName</span><span class="f_Para"> message, and the button's label changes from black text to gray. </span>
<span class="f_Para">If the command executes successfully, you receive a </span><span class="f_Monospace">Disabled button: </span><span class="term">buttonName</span><span class="f_Para"> message, and the button's label changes from black text to gray. </span>


<span class="f_Para">See also the </span><span class="f_Monospace">[[enablebutton_cmd.html|enableButton]]</span><span class="f_Para"> command. </span>
<span class="f_Para">See also the </span><span class="f_Monospace">[[EnableButton command|enableButton]]</span><span class="f_Para"> command. </span>
|-
|-
| '''Client menu:'''
| '''Client menu:'''

Latest revision as of 19:21, 27 January 2023

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