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.
Oscar Corte>>Is there an article or any other source where I could get information about windows colors and how to apply functions like Colorscheme()?
>>
>>
>>I'll appreciate any hint about it.
>>
>>Regards
>>
>>Oscar Corte
>
>
>Leave all the color settings in VFP at their default and your application will automatically take advantage of the user's color settings.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only