Hi,
Did you try Flatstyle property in your check box? I think below code will
help full to you.
this.checkBox1.BackColor = System.Drawing.SystemColors.AppWorkspace;
this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
Dhana
> Is there a simple way to change the colour of the checkbox's background
> colour from the default white to another colour for the actual box (not
> the
> label which you can do at design time).
"el_sid" <el_sid@newsgroup.nospam> schrieb:
> Is there a simple way to change the colour of the checkbox's background
> colour from the default white to another colour for the actual box (not
> the
> label which you can do at design time).
You will have to draw the control yourself (for example, by deriving a
class from 'CheckBox' and overriding its 'OnPaint' method.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
el_sid - 29 Sep 2005 10:47 GMT
Thanks, we will probably give this a try when we get a chance.
> "el_sid" <el_sid@newsgroup.nospam> schrieb:
> > Is there a simple way to change the colour of the checkbox's background
[quoted text clipped - 4 lines]
> You will have to draw the control yourself (for example, by deriving a
> class from 'CheckBox' and overriding its 'OnPaint' method.