>Hello
>How can I get the red, green and blue components from the nColor represented as numeric value. For example: I have nColor variable. nColor=12632256. I want to get value: nRed=192,nGreen=192,nBlue=192
>Thanks.
>Denis Gavrikov.
Denis,
FOXTOOLS has a function RGBComp() to return this information. You can:
STORE 0 TO nRed, nGreen, nBlue
= RGBComp(nColor, @nRed, @nGreen, @nBlue)
to retrieve this information as well as Josh's suggestion.
hth,
George
George
Ubi caritas et amor, deus ibi est