How to set Checkbox Backgound color

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to set the checkbox background color? Both in the enable as the disabled state?
 
* "=?Utf-8?B?RGF2aWQgSg==?= said:
Is there a way to set the checkbox background color? Both in the enable as the disabled state?

Are you referring to the checkmark's color?
 
Hi
No I am actually reffering to the box, I've looked at the different web sites but couldn't find any solutions, I had a similar problem with the tab control background but I have managed to solve this using some code I found. My initial thought were to use the drawitem event as used withthe tab pages but that didn't work, possibly due to my lack of understanding of VB. I have create a user control based on the check box, but I could get the onpaint or the drawitem events to fire. However when I was scanning the net I couldn't find any solutions using this either, as I have already seen a lot of your posting can you explain this.
 
Override the Paint event and draw the control yourself.

AndyC

David johnson said:
Hi,
No I am actually reffering to the box, I've looked at the different web
sites but couldn't find any solutions, I had a similar problem with the tab
control background but I have managed to solve this using some code I found.
My initial thought were to use the drawitem event as used withthe tab pages
but that didn't work, possibly due to my lack of understanding of VB. I have
create a user control based on the check box, but I could get the onpaint or
the drawitem events to fire. However when I was scanning the net I couldn't
find any solutions using this either, as I have already seen a lot of your
posting can you explain this.
 
Back
Top