Thanks - all working!
>
http://www.berezniker.com/content/pages/visual-foxpro/convert-color-rgb>
>>OK cool - and what was that formula to convert the BITXOR() output back to RGB?
>>
>>>I would think
>>>
>>>newForeColor = BITXOR(BackgroundColor, DesiredColor)
>>>
>>>>
>>>>What ForeColor should I use to get a red line on a white background when drawing using XOR?
>>>>
>>>>How do you calculate a desired color knowing the background color when using XOR?
>>>>
>>>>TIA
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.