ERASE WINDOW

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.0 (Modified)


ERASE WINDOW {(window)}

ParameterTypeDescription
windowWinRefWindow reference number, or
Frontmost window of current process, if omitted

Description

The ERASE WINDOW command clears the contents of the window whose reference number is passed in window.

If you omit the window parameter, ERASE WINDOW clears the contents of the frontmost window for the current process.

Usually, you will use ERASE WINDOW in combination with MESSAGE and GOTO XY. In this case, ERASE WINDOW clears the contents of the window and moves the cursor to the upper-left corner of the window, the GOTO XY (0; 0) position.

Do not confuse ERASE WINDOW, which clears the contents of a window, with CLOSE WINDOW, which removes the window from the screen.

See Also

GOTO XY, MESSAGE.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next