>I'm trying to draw to the desktop (the CWMGRPort) on a duo280c. I set the >color I want using the RGBForeColor statement. The drawing shows up in the >proper places but the color is often changed to something that is not even >close to the color that I intended to draw with. Is this a color table >problem, or is it a nuisance that is built into my machine? And how do I >get the colors I want? One thing to keep in mind: the fields of the RGBColor record are unsigned 16-bit integers. FB's % variables are SIGNED. This means that the values wrap around from 32767 to -32768 and then back up to zero, instead of from zero on up to 65536. This may be what's throwing your colours off. -Mars