Custom checkbox and radiobutton control

Discussion Custom checkbox and radiobutton control

  • Friday, February 21, 2003 3:27 PM
     
     
    Hello!

    I am looking for a custom radiobutton control and a custom checkbox 
    control for my application. The primary feature I am looking for is the 
    ability to manipulate the color of the checkmark within the checkbox and 
    the color of the dot within the radiobutton. Has anyone seen controls 
    like this available? If so, where? 

    Or, using the standard controls in VS.Net, can the color of the check and
    dot be manipulated through code somehow?

    Regards, 

    Chuck W. 

All Replies

  • Friday, February 21, 2003 10:31 PM
     
     
    I thought this was a cool idea so I went ahead and wrote these controls myself.  You can download them at: <a href="http://windowsforms.net/downloads/gdn/coloredcheckcontrols.zip">http://windowsforms.net/downloads/gdn/coloredcheckcontrols.zip</a>

    Some caveats, I didn't test these with large fonts and I didn't test them with Windows XP visual styles.  Also, since I am essentially just painting over the default check after the standard painting, its possible to get the control in a state where the new colored check is painted over the text.

    Enjoy

     - mike
  • Monday, February 24, 2003 7:51 PM
     
     
    Thank you very much for taking the time to create those controls Mike!  You have been a big
    help.  I will check out the code to to see how you were able to do this.

    Chuck