Group Window Functions
GetWBoard()
Retrieves the current WBoard() setting in an array.
GetWBoard() --> aWBoard
WaClose()
Closes all windows.
WaClose() --> nErrorCode
WBoard()
Determines the area inside a window that can be used for screen output (text mode).
WBoard( [<nTop>], ; // Default: 0 [<nLeft>], ; // Default: 0 [<nBottom>], ; // Default: MaxRow() [<nRight>] ; // Default: MaxCol() ) --> nErrorCode
WBox()
Draws a frame around the active window
WBox( [<cBoxChars|nBoxType>] ; // Type: CN Default: 0 ) --> nWindowID
WCenter()
Makes a window entirely visible on the screen or centers it.
WCenter( [<lCenter>] ; // Default: .F. ) --> nWindowID
WClose()
Closes the active window and selects the next window to be active.
WClose() --> nNextActiveWindowID
WCol()
Returns the left column position of the active window.
WCol( [<lAssumeWCenter>] ; // Default: .F. ) --> nLeftColumn
WColor()
Sets or retrieves the color setting for the current window.
WColor( [<cNewColor>] ) --> cOldColor
WfCol()
Returns the left column position of the formatted area in a window.
WfCol( [<lRelative>] ; // Default: .F. ) --> nLeftColumn
WfLastCol()
Returns the right column position of the formatted area in a window.
WfLastCol( [<lRelative>] ; // Default: .F. ) --> nRightColumn
WfLastRow()
Returns the bottom row position of the formatted area in a window.
WfLastRow( [<lRelative>] ; // Default: .F. ) --> nBottomRow
WFormat()
Defines the output area inside the active window.
WFormat( [<nTopMargin>], ; // Default: 0 [<nLeftMargin>], ; // Default: 0 [<nBottomMargin>], ; // Default: 0 [<nRightMargin>] ; // Default: 0 ) --> nWindowID
WfRow()
Returns the top row position of the formatted area in a window.
WfRow( [<lRelative>] ; // Default: .F. ) --> nTopRow
WGetClearB()
Retrieves the default character attribute for clearing windows.
WGetClearB() --> nClearCharacter
WInit()
Initializes the text mode window system
WInit() --> NIL
WLastCol()
Returns the right column position of the active window.
WLastCol( [<lAssumeWCenter>] ; // Default: .F. ) --> nRightColumn
WLastRow()
Returns the bottom row position of the active window.
WLastRow( [<lAssumeWCenter>] ; // Default: .F. ) --> nBottomRow
WMode()
Determines on which side windows may be moved outside the screen.
WMode( <lTop>, <lLeft>, <lBottom>, <lRight> ) --> nErrorCode
WMouseSelect()
Sets or retrieves whether a window can be selected with a left mouse click.
WMouseSelect( [<lNewSetting>] ) --> lOldSetting
WMove()
Sets new coordinates for the upper left corner of the active window.
WMove( <nTop>, <nLeft> ) --> nWindowID
WNum()
Returns the largest window ID of all opened windows.
WNum() --> nMaxWindowID
WOpen()
Opens a new window.
WOpen( <nTop>, <nLeft>, <nBottom>, <nRight>, [<lClearScreen>], ; // Default: .F. [<cColor>], ; // Default: SetColor() [<nCursor>] ; // Default: SetCursor() ) --> nWindowID
WRestScreen()
Restscreen() for a specified window.
WRestScreen( [<nWindowID>], ; // Default: WSelect() <nTop>, <nLeft>, <nBottom>, <nRight>, <cScreen> ) --> NIL
WRow()
Returns the top row position of the active window.
WRow( [<lAssumeWCenter>] ; // Default: .F. ) --> nTopRow
WSaveScreen()
SaveScreen() for a specified window.
WSaveScreen( [<nWindowID>], ; // Default: WSelect() <nTopRow>, <nLeftCol>, <nBottomRow>, <nRightCol> ) --> cScreen
WSay()
Displays a string at specified row/column coordinates in a window.
WSay( [<nWindowID>], ; // Default: WSelect() <nRow>, <nCol>, <cString>, [<cColor>] ; // Default: WColor() ) --> NIL
WSelect()
Selects an open window as the active one.
WSelect( [<nWindowID>] ) --> nActiveWindowID
WSetClearB()
Sets a new clear attribute for windows.
WSetClearB( <nNewClearAttr|cNewClearAttr> ; // Type: NC Default: 32 ) --> nOldClearAttribute
WSetColor()
Sets or retrieves the color setting for the active window.
WSetColor( [<cNewColor>] ; // Default: WColor() ) --> cOldColor
WSetCursor()
Sets or retrieves the cursor shape of the active window.
WSetCursor( [<nNewCursorShape>] ) --> nOldCursorShape
WSetMove()
Toggles whether a window may be moved interactively.
WSetMove( [<lNewMoveMode>] ; // Default: .T. ) --> lOldMoveMode
WSetShadow()
Defines the shadow color for windows opened after WSetShadow()
WSetShadow( [<cNewShadowClr|nNewShadowClr>] ; // Type: CN ) --> nOldShadowColor
WSetTitle()
Displays a title in the box surrounding a window.
WSetTitle( [<nPos>], ; // Default: 1 <nCol>, <cTitle>, [<cColor>] ; // Default: WColor() ) --> NIL
WStep()
Sets the increments for horizontal and vertical window movement.
WStep( <nVerticalSteps>, <nHorizontalSteps> ) --> nErrorCode