Hi Tamar
>>Thanks. I just want to know why RGBSCHEME(15...) does not return the same value when in a grid or page or when the form init()s?
>
>Possibly because it's an obsolete function, related to the coloring scheme used in FoxPro/DOS?
I agree with you but this particular function in the help file does not say so. In any case I was looking for the form background color and trying to manipulate the colors in relation to the background so I do not have a color that is fixed but will adapt (hopefully looks good) if the form colors are different due to themes.
Thanks.
UPDATE: Does any current function give the same results?