Textbox background color in XP vs Vista

  • Thread starter Thread starter da5namroi
  • Start date Start date
D

da5namroi

One of my my textboxes has a nice white background when running on an
XP machine, but becomes dark blak when running on a Vista.

Does anybody know how I can fix this? Thank you.
 
One of my my textboxes has a nice white background when running on an
XP machine, but becomes dark blak when running on a Vista.

Does anybody know how I can fix this? Thank you.

You can set the textbox's background to any color you want. The background
color is not dependent upon what O/S is being used, if you don't want it to
be. You should be able to query the textbox for its background color, and if
it's not what is expected, then change it to a color you want. That can be
an indication that the application is not running on XP. It's running on
Vista, if it's not the color used on XP. Or you can just test for what O/S
is being used and make the color change, by interrogating the registry for
O/S version.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top