RESTORE WINDOW Command
Restores to memory window definitions and window statuses saved to a window file or memo field.
RESTORE WINDOW WindowNameList | ALL FROM FileName | FROM MEMO MemoFieldName
Parameters
- WindowNameList
-
Specifies one or more windows to be restored. Separate the window names with commas.
- ALL
-
Restores all window definitions in the window file or memo field.
- FROM FileName
-
Specifies the window file from which windows are restored. A window file has a .win extension. If the file was given another extension when it was saved, you must include this extension in FileName.
- FROM MEMO MemoFieldName
-
Specifies the memo field from which the windows are restored.
In the following example, a window named wOutput1 is defined and saved to a variable. All windows are cleared and the window named wOutput1 is restored and activated.
CLEAR DEFINE WINDOW wOutput1 FROM 2,1 TO 13,75 TITLE 'Output' ; CLOSE FLOAT GROW ZOOM SAVE WINDOW wOutput1 TO temp CLEAR WINDOWS RESTORE WINDOW wOutput1 FROM temp ACTIVATE WINDOW wOutput1 WAIT "The window wOutput1 has been restored" WINDOW RELEASE WINDOW wOutput1
Reference
ACTIVATE WINDOW CommandDEFINE WINDOW Command
SAVE WINDOWS Command