ValueDisplay 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">Acts like the Value button, displaying in a separate window the...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


{|
{|
|width="50%"| '''Action:'''
|width="125px"| '''Action:'''
|width="50%"|
|width="575px"|
<span class="f_Para">Acts like the [[displaying_variable_values.html|Value button]], displaying in a separate window the value of the item specified or the value currently in the [[entity-name_input.html|Entity name input box]]</span><span class="f_GUIlabel">.</span><span class="f_Para"> </span>
<span class="f_Para">Acts like the [[Displaying temporarily the value of a program data item|Value button]], displaying in a separate window the value of the item specified or the value currently in the [[Entity name input box|Entity name input box]]</span><span class="f_GUIlabel">.</span><span class="f_Para"> </span>


'''Syntax:'''  
'''Syntax:'''  
Line 16: Line 16:
<p class="syntax">mapButton Button0 valueDisplay  </p>
<p class="syntax">mapButton Button0 valueDisplay  </p>


<span class="f_Para">The </span><span class="f_GUIlabel">Value</span><span class="f_Para"> window opened by </span><span class="f_Monospace">valueDisplay</span><span class="f_Para"> can be closed by </span><span class="f_Monospace">[[CloseValueDisplay command|closeValueDisplay.]]</span>
<span class="f_Para">The </span><var>Value</var><span class="f_Para"> window opened by </span><span class="f_Monospace">valueDisplay</span><span class="f_Para"> can be closed by </span><span class="f_Monospace">[[CloseValueDisplay command|closeValueDisplay.]]</span>


If ''valueDisplay'' is executed, ''and'' the [[using_macro_console_cmdline.html#macro_console|Console]] is open, the value is displayed in the Console window. To insist that a Value window be used for the display in this case, use the ''valueDisplayOnConsole'' option of the [[SetPreference command|setPreference]] command.  
If ''valueDisplay'' is executed, ''and'' the [[Using the console and command line#The Console|Console]] is open, the value is displayed in the Console window. To insist that a Value window be used for the display in this case, use the ''valueDisplayOnConsole'' option of the [[SetPreference command|setPreference]] command.  
|-
|-
| '''Client menu:'''
| '''Client menu:'''

Latest revision as of 19:11, 9 February 2023

Action:

Acts like the Value button, displaying in a separate window the value of the item specified or the value currently in the Entity name input box.

Syntax:

valueDisplay [item]

where item is the program item whose value you want to display, for example %a.  If you want to display a value from a particular scope (routine), prefix it with 'routineName.'; For example: valueDisplay outer.%local

If item is not specified, the command attempts to use the value specified in the Entity name input box. For example, you might want to map a button you can readily click to display the value of what is in the Entity name input box:

mapButton Button0 valueDisplay  

The Value window opened by valueDisplay can be closed by closeValueDisplay.

If valueDisplay is executed, and the Console is open, the value is displayed in the Console window. To insist that a Value window be used for the display in this case, use the valueDisplayOnConsole option of the setPreference command.

Client menu: Data Display > Value Display
Introduced: Build 43