Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows colors
Message
From
03/07/2001 18:55:59
 
 
To
21/06/2001 10:59:22
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00521926
Message ID:
00526505
Views:
20
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
Map
View

Click here to load this message in the networking platform