Previous Next Chapter

WINDOWTOBACK command

Purpose:

This command will push a window into the background.

Format:

WINDOWTOBACK [WINDOW] <ROOT|ACTIVE|Drawer name>

Template:

WINDOWTOBACK WINDOW

Parameters:

WINDOW

ROOT" to push the the Workbench root window (where volume icons and AppIcons live) into to the background, ACTIVE" to push the currently active Workbench window into the background or the fully qualified name of a drawer window. Note that the drawer window must already be open.

If no WINDOW parameter is specified, this command will try to operate on the currently active Workbench window.

Errors:

10 - If the named window cannot be found. The error code will be placed in the WORKBENCH.LASTERROR variable.

Result:

-

Notes:

If you choose to have a window pushed into the background that is not the root window or the currently active window you must make sure that the window name is given as a fully qualified path name. For example Work:" is a fully qualified name, and so is SYS:Utilities". Devs/Printers" would not be a fully qualified name. A fully qualified name always contains the name of an assignment, a volume or a device.

Example:

/* Push the root window into the background. */
ADDRESS workbench

WINDOWTOBACK root

Top Previous Next Chapter