
Sets the background color for use with a WinBatch object.
BoxColor(box ID, color, wash color)
(i) box ID the ID number of the desired WinBatch box.
(s) normal color the background color, a string in the form: "red, green, blue".
(i) wash color color used to create a background gradient effect.
(i) @TRUE on success; @FALSE on failure.
Sets the background color for use with a WinBatch object, either a rectangle, a circle, or a line.
If a gradient effect is not desired, specify "0" for "wash color". If "wash color" is "0", or if a 16-color video driver is installed, then " normal color" will be used. Default is white, no wash.
| BLACK="0,0,0" WHITE="255,255,255" RED="255,0,0" GREEN="0,255,0" | DKGRAY="128,128,128" GRAY="192,192,192" DKRED="128,0,0" DKGREEN="0,128,0" | 
| BLUE="0,0,255" PURPLE="255,0,255" YELLOW="255,255,0" CYAN="0,255,255" | DKBLUE="0,0,128" DKPURPLE="128,0,128" DKYELLOW="128,128,0" DKCYAN="0,128,128" | 
0 No Wash
1 Red
2 Green
3 Yellow
4 Blue
5 Magenta
6 Cyan
7 White
; sample code for various wash colors
BoxesUp("0,0,1000,1000", @ZOOMED)
For i=1 To 7
   BoxColor(1,"255,0,0",i) ;sets the background color
   BoxDrawRect(1,"0,0,1000,1000",2) ;object which will use the color
   Message("Wash Code",i)
Next