clearWindowByName()

You can use the consoleLib.clearWindowByName() system function to remove all displayed material from the specified window. This includes erasing the constant information displayed in the current form. If the window has a border, the border is not erased. The statement does not affect the ordering of the window stack.

The function is similar to consoleLib.clearWindow(), except that it refers to the value of the name property of the window rather than to the window itself. EGL requires this variant for compatibility with I4GL.

Syntax

  consoleLib.clearWindowByName(name STRING in)
name
The value of the name property for the window.

Example

The following example shows the consoleLib.clearWindowByName() function:

  consoleLib.clearWindowByName("window1");

Feedback