4D v13.4

ERASE WINDOW

Home

 
4D v13.4
ERASE WINDOW

ERASE WINDOW 


 

ERASE WINDOW {( window )} 
Parameter Type   Description
window  WinRef in 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.

 
PROPERTIES 

Product: 4D
Theme: Windows
Number: 160

 
INDEX

Alphabetical list of commands

 
HISTORY 

Modified: 4D v6

 
SEE ALSO 

GOTO XY
MESSAGE