SCREEN DELETE_WINDOW

SCREEN DELETE_WINDOW deletes a window and removes it from drawing board if it was pasted.  It also releases all resources associated with the window.

SYNTAX

SCREEN DELETE_WINDOW /USING/ window_id

window_id

is an integer system field, Global Storage (GS) field, or user-defined field that contains the window ID assigned to the window.

EXAMPLE

SCREEN DELETE_WINDOW USING HELP_ID

This examples demonstrates how to delete a help box after it is no longer needed.  The window associated with HELP_ID is deleted and all its associated resources are returned to the system.