4D v16.3ERASE WINDOW |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
ERASE WINDOW
|
ERASE WINDOW {( window )} | ||||||||
Parameter | Type | Description | ||||||
window | WinRef |
![]() |
Window reference number, or Frontmost window of current process, if omitted | |||||
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.
Product: 4D
Theme: Windows
Number:
160
Modified: 4D v6
4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)