RESTORE WINDOW

From Recital Documentation Wiki
Revision as of 15:25, 3 June 2009 by Yvonnemilne (Talk | contribs)

Jump to: navigation, search

Class

Screen Windows


Purpose

Restore windows from a file


Syntax

RESTORE WINDOW <window-name> | <window-name list> | ALL FROM <.win filename>


See Also

ACTIVATE SCREEN, ACTIVATE WINDOW, CLEAR WINDOWS, DEACTIVATE WINDOW, DEFINE WINDOW, HIDE WINDOW, MOVE WINDOW, MODIFY MEMO, RELEASE WINDOWS, RESIZE WINDOW, SAVE WINDOW, SHOW WINDOW, SET COMMANDWINDOW, SET ERRORWINDOW, SET STATUS, SET TRACEWINDOW, SET WINDOW OF EDIT, SET WINDOW OF MEMO, WCOLS(), WEXIST(), WONTOP(), WOUTPUT(), WROWS(), WVISIBLE()


Description

The RESTORE WINDOW command restores windows to memory from a file that was created with the SAVE WINDOW command. A window is an area of the screen designated for output and input. There is no limit to the number of defined windows. Windows are created with the DEFINE WINDOW command and activated with the ACTIVATE WINDOW command. The SAVE WINDOW command saves windows to a file with a '.win' extension.

You may restore a single window, a group of windows, or all the windows in the window file. The <window-name> is the name of the window as specified in the DEFINE WINDOW command. To restore a group of windows, use the <window-name list>, which is a list of window names each separated by a comma. To restore all currently defined windows, use the ALL keyword. Windows are restored with the same status they had when last stored with the SAVE WINDOW command. Windows being restored will overwrite any current window with the same name.


Example

clear windows
restore window sales from stats
activate window sales


Products

Recital Mirage Server, Recital Terminal Developer