Vs 2005 Background color of Check box can not be changed?

  • Thread starter Thread starter Enrico Pavesi
  • Start date Start date
E

Enrico Pavesi

In a project for WM5 i have to change the background color of a checkbox to
a custom color, but in the desgner it revert always to white.

Is a bug or i'm missing something?

Thanks
 
That's probably the way it's designed, wanting to just handle standard
colors. You can set the BackgroundColor property of the checkbox yourself
when InitializeComponents() returns.

Paul T.
 
Enrico said:
In a project for WM5 i have to change the background color of a checkbox to
a custom color, but in the desgner it revert always to white.

Can you do a quick check for me?

- See whether you can set it in code instead of through the designer
- See whether you hit the same problem with all checkboxes on non-WM5
platforms as well

I dont have access to VS 2005 (or) our internal bug database right now.
But I remember that we have this issue with the label control where you
can't set its background color to a custom color through the designer.
When I get back to work, I'll check whether it was for the label control
or for other controls as well
 
I've done that, as indicated in my reply to the original poster. You can
set it fine in your own code. The designer is deciding that it won't allow
the change.

Paul T.
 
Back
Top