Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Checked Combobox for .NET?

Checked Combobox for .NET?

Scheduled Pinned Locked Moved C#
csharpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Darren Weir
    wrote on last edited by
    #1

    Hello, I'm looking for a checked combobox which I can use on a search form. Basically I want to search for "items" with one or more statuses and using a checked combobox would be a compact way of allowing users to do that. But I haven't found one yet... Couldn't even find one on CodeProject :( Anyone seen one out there? Thanks in advance, Daffrey

    P 1 Reply Last reply
    0
    • D Darren Weir

      Hello, I'm looking for a checked combobox which I can use on a search form. Basically I want to search for "items" with one or more statuses and using a checked combobox would be a compact way of allowing users to do that. But I haven't found one yet... Couldn't even find one on CodeProject :( Anyone seen one out there? Thanks in advance, Daffrey

      P Offline
      P Offline
      perlmunger
      wrote on last edited by
      #2

      First off, I've got to say that you should really do a web search before asking questions. This is not hard to find. Google is your friend. That being said, there is a native control in .NET called CheckedListBox. It isn't a combo, but will get the job done. Having checkboxes in a combo is a little counter intuitive, anyhow (which is why Microsoft doesn't provide one). Take a look here to learn more about the CheckedListBox: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vboricheckedlistboxctltasks.asp[^] -Matt ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall

      D 1 Reply Last reply
      0
      • P perlmunger

        First off, I've got to say that you should really do a web search before asking questions. This is not hard to find. Google is your friend. That being said, there is a native control in .NET called CheckedListBox. It isn't a combo, but will get the job done. Having checkboxes in a combo is a little counter intuitive, anyhow (which is why Microsoft doesn't provide one). Take a look here to learn more about the CheckedListBox: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vboricheckedlistboxctltasks.asp[^] -Matt ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall

        D Offline
        D Offline
        Darren Weir
        wrote on last edited by
        #3

        Thanks for the reply. Google normally is my friend and I always turn to it first before posting questions anywhere, but I have searched on Google several times trying to find a checked combobox for .NET and have come up with zero every time. I've searched on 'checked combobox', 'checked combobox .net', '"checked combobox" .net'. I've found references to checked comboboxes for Access and there are several C++ versions around, and COM components around but I still haven't found one written in C# or VB.NET. I'm sure there is one out there somewhere for .NET. As for the CheckedListBox, I already know about that but it is not what I am after... Although I may yet have to utilise it by displaying it when a button is clicked on to simulate a drop down. By the way...what is counter intuitive about a checked combobox? As long is there are not too many entries they are very good and for my purposes there wouldn't be anymore than 30 items. Don't get me started on what Microsoft provide in their "Standard Control" offerings... they can't even get a DatePicker (Handling Null Dates) or a TabControl (Can't hide tabs, Can only insert tabs at the end) right in .NET . Anyhoot, The search goes on... Daffrey

        P 1 Reply Last reply
        0
        • D Darren Weir

          Thanks for the reply. Google normally is my friend and I always turn to it first before posting questions anywhere, but I have searched on Google several times trying to find a checked combobox for .NET and have come up with zero every time. I've searched on 'checked combobox', 'checked combobox .net', '"checked combobox" .net'. I've found references to checked comboboxes for Access and there are several C++ versions around, and COM components around but I still haven't found one written in C# or VB.NET. I'm sure there is one out there somewhere for .NET. As for the CheckedListBox, I already know about that but it is not what I am after... Although I may yet have to utilise it by displaying it when a button is clicked on to simulate a drop down. By the way...what is counter intuitive about a checked combobox? As long is there are not too many entries they are very good and for my purposes there wouldn't be anymore than 30 items. Don't get me started on what Microsoft provide in their "Standard Control" offerings... they can't even get a DatePicker (Handling Null Dates) or a TabControl (Can't hide tabs, Can only insert tabs at the end) right in .NET . Anyhoot, The search goes on... Daffrey

          P Offline
          P Offline
          perlmunger
          wrote on last edited by
          #4

          I guess the bottom line is that if you don't like the Microsoft way, you've gotta write your own. Good luck. -Matt ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups