FutureBasic Logo

<<    Index    >> FutureBasic

window output   statement

window output tag

This statement makes an existing window the current output window. The current output window is the target window for such statements and functions as button, textfield, etc.
The tag can be either a positive or negative number; window output affects the window whose tag number is abs(tag). If you specify a negative tag, the window becomes invisible. If you specify a positive tag, 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 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