xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

ClWin()

Clears characters and colors on the screen.

Syntax

ClWin( [<nTop>]   , ;
       [<nLeft>]  , ;
       [<nBottom>], ;
       [<nRight>]   ) --> cNull

Arguments

<nTop> and <nLeft>
Numeric values indicating the screen coordinates for the upper left corner of the screen area to clear. The default value for both parameters is determined by Row() and Col().
<nBottom> and <nRight>
Numeric values indicating the screen coordinates for the lower right corner of the screen area to clear. The default value for both parameters is determined by MaxRow() and MaxCol().

Return

The return value is always a null string ("").

Note:  ClWin() leaves the cursor position unchanged.

Info

See also:ClEol(), ClearEol(), ClearWin()
Category: CT:Video , Screen functions
Source:ct\screen3.prg
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe