SetTitle 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">Lets you change the title of the Client main window (which by default is "The Janus Debugger&q...")
 
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">Lets you change the title of the Client main window (which by default is &quot;The Janus Debugger&quot; or &quot;The TN3270 Debugger.&quot; </span>
<span class="f_Para">Lets you change the title of the Client main window (which by default is &quot;The Janus Debugger&quot; or &quot;The TN3270 Debugger.&quot; </span>


Line 30: Line 30:
*<span class="f_ListBul1">The </span><span class="f_Monospace">[[RestoreTitle command|restoreTitle]]</span><span class="f_ListBul1"> command replaces any changed main window title with the default title. </span>
*<span class="f_ListBul1">The </span><span class="f_Monospace">[[RestoreTitle command|restoreTitle]]</span><span class="f_ListBul1"> command replaces any changed main window title with the default title. </span>


*<span class="f_Monospace">[[currenttitle_function.html|&amp;&amp;currentTitle]]</span><span class="f_Para"> and </span><span class="f_Monospace">[[originaltitle_function.html|&amp;&amp;originalTitle]]</span><span class="f_Para"> </span><span class="f_ListBul1">display the current and default titles of the Client main window. </span>
*<span class="f_Monospace">[[&&currentTitle|&amp;&amp;currentTitle]]</span><span class="f_Para"> and </span><span class="f_Monospace">[[&&originalTitle|&amp;&amp;originalTitle]]</span><span class="f_Para"> </span><span class="f_ListBul1">display the current and default titles of the Client main window. </span>
|-
|-
| '''Client menu:'''
| '''Client menu:'''

Latest revision as of 18:39, 9 February 2023

Action:

Lets you change the title of the Client main window (which by default is "The Janus Debugger" or "The TN3270 Debugger."

Syntax:

setTitle newtitle

where newtitle is an unquoted, case insensitive string of as many as 50 characters.

Examples:

The image below shows the result of issuing a setTitle Welcome to my world command. Notice that the name of the procedure being debugged is retained.

settitle1b

  • The following macro uses:

continueMacroIf &&blackOrWhiteList <> 'black'
labelButton button0 BlackList Off
turnOnBlackList
setTitle Black List on
set &changed = 1
clearStatus 

See also:

  • The restoreTitle command replaces any changed main window title with the default title.
Client menu: --
Introduced: Build 62