ClearButton command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
__TOC__
__TOC__
{|
{|
|width="50%"| '''Action:'''
|width="125px"| '''Action:'''
|width="50%"|
|width="575px"|
<span class="f_Para">Removes all previously set [[Introducing the configurable components#Named buttons and separators|mappings]] for a particular Client button. </span>
<span class="f_Para">Removes all previously set [[Introducing the configurable components#Named buttons and separators|mappings]] for a particular Client button. </span>



Latest revision as of 00:50, 26 January 2023

Action:

Removes all previously set mappings for a particular Client button.

Syntax:

clearButton buttonName

where buttonName is one of:

  • button0, button1, ... button14, the names of the main button bar buttons  
  • extraButton0, extraButton1, ... extraButton14, the names of the extra button bar buttons  

After you execute the command, the button is removed immediately from the button bar to which it applies but not from the mapping file (ui.xml or uimore.xml) if it was specified there. A restart of the Client restores any mappings you remove with clearButton, if they were in the ui.xml or uimore.xml file.

See also the mapButton command.

Client menu: --
Introduced: Build 57