locked
What control in .net is the Lighted Radio Button? RRS feed

  • Question

  • Hi,

    I am developing an Add-in and wish to use the lighted radio button type control.  It enabled you to have a label with an image to the left that looks like a radio button selection but can be lit green or red (and possibly yellow).

    Which DLL is this control in and what is it called?

    Many thanks,
    Al
    --
    Thursday, May 28, 2009 10:41 AM

Answers

All replies

  • Can you post a screenshot of what you're talking about, Al?

    There isn't a lighted radio button control in WHS, but there are red/green/yellow button images that are used all over the place. They're not part of a specific control, though, and they don't have radio-button functionality baked in.
    Tentacle Blog: http://www.tentaclesoftware.com/blog/
    WHS Disk Management: http://www.tentaclesoftware.com/WHSDiskManagement/
    • Marked as answer by Al West Tuesday, June 2, 2009 8:10 PM
    Saturday, May 30, 2009 10:22 PM
    Moderator
  • Ah yes I should have given an example.  In say the server storage tab, under status it will read [O] Healthy.  Now that you've hinted on it's not a radio button I can start trying to look where these images may be.

    Thanks,
    Al
    --
    Sunday, May 31, 2009 1:54 PM
  • In that case Sam is correct, what you are seeing isn't a RadioButton but a bit of built in and undocumented art, take a look at this blog post on how to use it.
    Tuesday, June 2, 2009 7:29 PM
    Moderator