Programmer's WorkBench (pwb.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Newwindow Switch
◄Up► ◄Contents► ◄Index► ◄Back►
─────Programmer's WorkBench─────────────────────────────────────────────────
Newwindow (Boolean)
The Newwindow switch determines if certain PWB functions open a
file in a new window or in the active window.
The Newwindow switch provides the default state of the New Window
check box in the File Open dialog box. This check box does not
change the value of the Newwindow switch.
See: ◄File menu, Open►
When Newwindow is set to Yes, PWB behaves like an MDI
application. That is, when you open a new file, PWB opens a new
window for the file, except in certain situations as noted below.
When Newwindow is set to No, PWB behaves like PWB 1.x. In this
case, PWB opens files into the active window, creating a file
history for that window. This mode is useful when working with
large numbers of files.
See: ◄File History►
Some functions use the Newwwindow switch to determine if a new
window is created when opening a file.
See: Exit, Mark, Newfile, Nextmsg, Nextsearch
The following functions ignore the Newwindow switch, and either
create a new window or open the file into the active window:
Function Creates a New Window
Mreplace No
Openfile Yes
Setfile No
Nextmsg No
Nextsearch No
When the active window is a PWB window, PWB always creates a new
window: you cannot open a file into a PWB window.
Syntax
Newwindow:{ yes | no }
yes Open a new window when a new file is opened.
no Open files into the active window, adding the previous
file to the window's file history.
Default
Newwindow:yes
See
Exit, Mreplace, Openfile, Setfile
◄Boolean Switch Syntax►
◄File History (Defined)►
-♦-