Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Custom checkbox and radiobutton control
 

Custom checkbox and radiobutton control

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. 
MigrationUser 1  Friday, February 21, 2003 3:27 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
MigrationUser 1  Friday, February 21, 2003 10:31 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
MigrationUser 1  Monday, February 24, 2003 7:51 PM

You can use google to search for other answers

Custom Search

More Threads

• ZOrder of dropped control incorrect?
• XSL Editor
• textbox border color
• New Submission to Control Gallery
• How to add "Expression" style to all properties displayed in a PropertyGrid (like in SQL Reporting Designer)
• Custom properties in application hosted designer
• IE Container in WinForm
• how to let the property browser update a property
• unique or not duplicate value by vb.net in text box
• Win32 and C# Window Styles. Why different ?