Hello Don,
Still another code to do the same thing:
FUNCTION ColorToRGB( nColor,nRed,nGreen,nBlue )
LOCAL nModulo
nBlue = INT( nColor / 65536 )
nModulo = nColor % 65536
nGreen = INT( nModulo / 256 )
nModulo = nModulo % 256
nRed = nModulo
RETURN ( .NULL. )
>Does anyone know how can I extract the individual RGB colors from the integer value returned by GETCOLOR()?
>
>For example, if I select a greenish-color in GETCOLOR() it returns 8421376. I need to stuff the individual into a charting ActiveX control on the form that requires the color in the RGB(x,y,z) format.
>
>TIA!