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
--sb--