Controls the location where serial input from the terminal keyboard is received and displayed.
Syntax
WINDOW SET INPUT ON|OFF
Comments
The WINDOW SET INPUT command is set OFF by default.
When WINDOW SET INPUT is OFF, all serial input is received displayed in the application window (BACKSCREEN) regardless of which window is current. (The FORM INPUT and MENU INPUT commands operate in full-screen mode, and therefore are not affected by WINDOW SET INPUT.)
When WINDOW SET INPUT is ON, all line-by-line input occurs in the current window.
See Also
INPUT
WINDOW SET OUTPUT
Controls if line-by-line terminal output is displayed in the application window (BACKSCREEN) or the current window.
Syntax
WINDOW SET OUTPUT ON|OFF
Comments
The WINDOW SET OUTPUT command is set OFF by default.
When WINDOW SET OUTPUT is OFF, all serial output to the terminal is displayed in the application window (BACKSCREEN) regardless of which window is current.
When WINDOW SET OUTPUT is ON, all line-by-line output occurs in the current window. When WINDOW SET OUTPUT is ON, WINDOW SET INPUT should also be set ON.
The display of form, menu, and window objects is not affected by WINDOW SET OUTPUT.
See Also
OUTPUT
WINDOW SET INPUT EXPOSE
Makes the “next” saved form or display in the current Zim window the current form or display in the window.
Note: This command is invalid in Zim version 5 and above.
Syntax
FORM RESTORE
Comments
The FORM RESTORE command takes the “top” form or display from the “stack” of forms saved by FORM SAVE in the current window, making it the current form or display in the current window.
Note: The FORM RESTORE command must only be used with forms that are selected in text windows – never forms in graphical windows. Use of this command in Zim for Windows can cause system termination.
See Also
FORM CLEAR
FORM DISPLAY
FORM INPUT
FORM OPEN
FORM REPORT
FORM SAVE
FORM SET
Controls automatic exposure of active windows on input requests.
Syntax
WINDOW SET INPUT EXPOSE ON|OFF
Comments
The WINDOW SET INPUT EXPOSE command is set ON by default.
When WINDOW SET INPUT EXPOSE is ON, the current window (if active) is always exposed when input is requested (by a FORM INPUT, INPUT, or MENU INPUT command). When WINDOW SET INPUT is set OFF, an input request does not cause an active window to be exposed.
An inactive current window is always automatically activated and exposed when the application user is given control of the interface, regardless of the WINDOW SET INPUT EXPOSE setting.
See Also
ThisWindow
WINDOW ACTIVATE
WINDOW CLEAR
WINDOW CLOSE
WINDOW DEACTIVATE
WINDOW DISPLAY
WINDOW OPEN
WINDOW SCROLL
WINDOW SET
WINDOW SIZE
Display a user-defined cursor when the mouse hovers over a graphical formfield widget.
Syntax
FORM SET ( MOUSEPOINTER )|< formname> |
|< formname>.< formfieldname>|
| (< formnum>,< fieldnum>, |
Parameters
| A string or an expression that evaluates to a string; the string must be a valid cursor file name. |
< formname> | A formname |
< formfieldname> | The name of a formfield |
< formnum> | The form number |
< fieldnum> | The field number |
| The subscript |
Comments
A graphical formfield widget can have a user-defined cursor displayed when the mouse is hovering over it. Unlike predefined mouse cursors, user-defined mouse cursors are displayed even if the field is guarded. User-defined cursors can be assigned statically in the Screen Painter or dynamically using the MOUSEPOINTER attribute in the existing FORM SET command.
Steps through a procedure one command at a time, halting after each command.
Syntax
SET SINGLESTEP ON|OFF
Comments
When SINGLESTEP is switched ON, execution is halted (by the HALT utility) after each command executed. To resume execution after the HALT, press Enter at the HALT prompt (>>).
Compiled application programs are not affected by SET SINGLESTEP.
The SET SINGLESTEP command is not affected by the SET RESET and SET RESTORE commands.
Example
To switch to singlestep, use
> set trace on
> set singlestep on
Now, if you execute an application program, it looks like this:
> DoCusts (“edit”)
procedure DoCusts (in ExMode)
>>output $setcount
35
>>(carriage return)
let dp = $true
>>.
.
.
See Also
SET STOP ERRORS
Syntax
MENU SET TOOLBAR ([NOT] SUPPRESS)
Where if is not entered, all toolbars are suppressed or not suppressed.
Allows the recording of keystrokes during FORM INPUT.
Syntax
FORM SET SAVE ON|OFF
Comments
The command FORM SET SAVE ON initiates capturing the keystrokes and storing them in a script called zfmkeys in the database directory.
The command FORM SET SAVE OFF stops capturing the keystrokes.
For more information, please consult Capturing_and_Replaying_Form_Input.
Allows or disables the replaying of stored keystrokes during FORM INPUT.
Syntax
FORM SET INPUT ON|OFF
Comments
The command FORM SET INPUT ON initiates replaying the keystrokes stored in a script file called zfmkeys in the database directory.
The command FORM SET INPUT OFF stops replaying the keystrokes.
For more information, please consult Capturing_and_Replaying_Form_Input.
Display a user-defined cursor when the mouse hovers over a graphical formfield widget.
Syntax
WINDOW SET (MOUSEPOINTER ) []
Parameters
| A string or an expression that evaluates to a string; the string must be a valid cursor file name. |
| An optional window name. The default is the current window. |
Comments
Every graphical formfield widget can have a user-defined cursor displayed when the mouse is hovering over it. Unlike predefined mouse cursors, user defined mouse cursors are displayed even if the field is guarded. User-defined cursors can be assigned statically in the Screen Painter or dynamically using the MOUSEPOINTER attribute in the existing WINDOW SET command.