Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
Changing the color of a radio button
posted

I am using netadvantage 2009 and am trying to change the color of the radio buttons on an option set.  They are currently white, but I need them to be a pale yellow.  I don't see an option to allow this to be configured.  Do I need to create a new glyph and associate it with the control?  Does anyone know how to do this?  Thanks in advance.

  • 469350
    Offline posted

    Hi,

    Are you referring to the actual button itself - inside the circle? If so, then yes, you would have to replace the entire glyph. The default glyphs are drawn by the OS and there's no way to change just the color.

    You can change the glyphs either in your code (at design-time or run-time) or via AppStylist. It's easier at design-time or in AppStylist because you can use the designer.

    There are instructions here:

    Creating a Custom Style for WinCheckEditor

    These instructions are for the CheckEditor, but it's basically the same with the OptionSet.