| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Clears all or parts of the screen.
ClearWin( [<nTop>] , ;
[<nLeft>] , ;
[<nBottom>], ;
[<nRight>] , ;
[<xColor>] , ;
[<xChar>] ) --> cNull
The return value is always a null string ("").
Note: ClearWin() leaves the cursor position unchanged.
| See also: | @...CLEAR, ClearSlow(), ClWin(), SetClearA(), SetClearB() |
| Category: | CT:Video , Screen functions |
| Source: | ct\setclear.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
PROCEDURE Main
SET COLOR TO N/B
CLS
SetPos( 2, 20 )
ClWin()
RETURN
http://www.xHarbour.com