FutureBasic Logo

<<    Index    >> FutureBasic 5

window output   statement



Syntax:
window output idExpr

Description:
This statement makes an existing window the current output window. The current output window is the destination for any subsequent text and drawing commands, and is the target window for such statements and functions as button, edit field, etc.
The idExpr can be either a positive or negative number; window output affects the window whose ID number is abs(idExpr). If you specify a negative idExpr, the window becomes invisible. If you specify a positive idExpr, the window becomes visible.
window output does not activate the specified window (i.e., it does not highlight its contents nor bring it to the front), if there are other visible windows open. Use the window statement ( or Appearance Window statement ) when you want to explicitly activate a window. (Note: the window statement also makes the specified window the current output window.)
window output is useful in cases where you need to update the contents of a window which may be in the background, without bringing the window to the front.

See Also:
window statement; window function; appearance window statement