WOpen() - Opens a new window
Opens a new window
──────────────────────────────────────────────────────────────────────────────

Syntax

WOpen( <nTop>, <nLeft>, <nBottom>, <nRight> [, <lDelete> ] ) --> nWindow

Arguments

<nTop> the top row. The value can be between 0 and MAXROW().

<nLeft> the leftmost column. The value can be between 0 and
MaxCol().

<nBottom> the bottom row. The value can be between 0 and MaxRow().

<nRight> the rightmost column. The value can be between 0 and
MaxCol().

<lDelete> a logical value that defines whether the area inside the
window is cleared. .T. will clear the window, .F. will not. If omitted
this parameter will default to .F.


Returns

WOpen() returns a numeric value representing the window handle if
successful, otherwise WOpen() returns a -1.

Description

WOpen() may be used to create/open/display new windows at will. WOpen()
returns the window number if successful. If unsuccessful, WOpen() will
return -1 - this could happen if invalid coordinates were passed to
WOpen().


Files: Library is MRWINDOW.LIB.