>Thanks for your help. Sorry for not explaining myself correctly. I’ll be using a couple of ActiveX objects to show some data and I’ like to set the background according to the windows colors. One of the tools which inspired me to do this is the Sidebar that appears on applications like Outlook and Paint when you click “Save As” an the browse-Dialog box appears.
>
>The background of that SideBar changes depending on your Windows appearance (I guess upon the “Aplication Background” color).
>
>I’ve seen the use of RGBSCHEME on grids to make their background the same color of the of the form’s background:
>
>EVAL("RGB("+SUBSTR(RGBSCHEME(15,1),AT(",",RGBSCHEME(15,1),3)+1))
>
>This make me conclude tha the first parameter (15) corresponds to a windows setting and the second (1) to one of the windows elements (like “Application background”).
>
>My question: Is there a table or any source which explains which color scheme corresponds to which element(s)?
>
>Regards and thanks again.
>
Not that I'm aware of. I just leave all my color settings at the defaults and have never had a problem.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer