xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

ColorRepl()

Replaces color attributes on the screen.

Syntax

ColorRepl( [<xNewColor>], [<xOldColor>] ) --> cNull

Arguments

<xNewColor>
This is either a single color value (see SetColor()), or its numeric color attribute (see ColorToN()). It defines the new color and defaults to the return value of GetClearA().
<xOldColor>
Either a single color value or its numeric color attribute to be replaced can be specified. If omitted, all colors are replaced with <xNewColor>.

Return

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

Info

See also:ColorToN(), ColorWin()
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