| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Replaces characters in a specified screen area.
CharWin( [<nTop>] , ;
[<nLeft>] , ;
[<nBottom>] , ;
[<nRight>] , ;
[<xNewChar>], ;
[<xOldChar>] ) --> cNull
The return value is always a null string ("").
| See also: | ColorWin(), SetClearB() |
| Category: | CT:Video , Screen functions |
| Source: | ct\screen3.prg |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
// The example displays a box of "A" and replaces it with "B"
PROCEDURE Main
CLS
DispBox( 10, 10, 20, 20, "A" )
WAIT
CharWin( 10, 10, 20, 20, "B", "A" )
RETURN
http://www.xHarbour.com