Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Backcolor in WIN2000
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00719980
Message ID:
00720025
Views:
17
It's not a problem. The controls are working as designed. Win2K has a different default color scheme than NT/9x and the controls are using that. You should not set the backcolor of any control, as Windows guidelines specify that the user should pick them in WIndows display properties. You should not change this in your app.


>We seem to have found an issue with back colors when viewed on different machines. I began to research this issue after my customer noticed a problem with their applications on Windows 2000 workstations.
>
>To simplify the description of the problem, when I open a new form or label on my NT (or WIN98) system based on the VFP base classes, the default backcolor is 192,192,192. When I do the same on windows 2000, the default backcolor is 212,208,200. This alone is not such a problem, but we noticed the issue because most of our classes use the default backcolor (previously 192,192,192) but several of our classes explicitly set the backcolor to 192,192,192. The point here is that there is a difference between the background color specifically set and that which is set by default. The default setting changes when opened in win 2000.
>
>We plan on using the simple workaround for this problem, which is consistency in setting backcolors. We will revert them back to the default settings in all cases when we want that default backcolor. Hopefully we will not run into issues when our applications are compiled on different machines.
>
>I would like to know if there is a way to change the default settings at the machine level. I looked around a bit but could not find the solution.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform