RESTORE SCREEN Command

Restores the main Visual FoxPro window or a user-defined window previously saved to the screen buffer, a variable, or an array element.

RESTORE SCREEN   [FROM VarName]

Parameters

  • FROM VarName
    Specifies the name of a variable or array element from which you want to restore the screen or window image.

Remarks

Use SAVE SCREEN to place the current main Visual FoxPro window or active user-defined window in the screen buffer, a variable, or an array element.

Variables or array elements containing stored screen or window images have an S data type when you view the variables or array elements with DISPLAY or LIST MEMORY. The main Visual FoxPro window or user-defined windows saved to variables or array elements can also be saved to and restored from variable files with SAVE TO and RESTORE FROM.

If issued without the FROM clause, RESTORE SCREEN restores the main Visual FoxPro window or user-defined window from the screen buffer.

See Also

RESTORE FROM | SAVE SCREEN | SAVE TO