Programmer Guide/Macro Library/LOGWINDOW: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:LogWindow - Log-window control function}}
==LOGWINDOW==


This macro can be used to show/hide the log-window (SHOW, RESTORE, HIDE or TOGGLE) and to clear the log-window content.
This macro can be used to show/hide the [[User_Guide/Log_Window|Log-window]] and to clear its content.


The log-window is always visible. The show/hide command toggles between the small-window (displayed in the top/left corner of the desktop) and the large-window (with size and position set by the user). The log-window is mostly used for debug purposes, because all debug information (macro load errors, command traces, ..) are written into the log-window.
The [[User_Guide/Log_Window|Log-window]] is always visible. The show/hide command toggles between the small-window (displayed in the top/left corner of the desktop) and the large-window (with size and position set by the user). The log-window is mostly used for debug purposes, because all debug information (macro load errors, command traces, ..) are written into the log-window. The menus of the Log-window implements configuration dialogs and application control commands.


=====Usage:=====
LogWindow Show
:Show the large version of the Log-window; restores the last position and size of the window.


<code>LogWindow <var>cmd</var></code>
LogWindow Hide
:Show the small version of the Log-window in the upper right corner of the monitor.


=====Parameters:=====
LogWindow Toggle
:Toggles between the large and the small version.


;<var>cmd</var>
LogWindow Clear
:Clear the window content.


:The control command. The following values are supported:
;See also: macro [[../CONLOG|ConLog]], commands [[Programmer_Guide/Command_Reference/WRITELOG|WriteLog]] and [[Programmer_Guide/Command_Reference/MESSAGE|Message]]
 
:<code>SHOW</code> | <code>RESTORE</code> | <code>HIDE</code> | <code>TOGGLE</code> | <code>CLEAR</code>
 
=====Result:=====
 
void
 
=====Notes:=====
 
You can write to the log window using the command <code>WRITELOG</code>.

Latest revision as of 16:34, 1 February 2016


This macro can be used to show/hide the Log-window and to clear its content.

The Log-window is always visible. The show/hide command toggles between the small-window (displayed in the top/left corner of the desktop) and the large-window (with size and position set by the user). The log-window is mostly used for debug purposes, because all debug information (macro load errors, command traces, ..) are written into the log-window. The menus of the Log-window implements configuration dialogs and application control commands.

LogWindow Show
Show the large version of the Log-window; restores the last position and size of the window.
LogWindow Hide
Show the small version of the Log-window in the upper right corner of the monitor.
LogWindow Toggle
Toggles between the large and the small version.
LogWindow Clear
Clear the window content.
See also
macro ConLog, commands WriteLog and Message

Navigation menu

Personal tools