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. Visual Basic
  4. Combo box in List box

Combo box in List box

Scheduled Pinned Locked Moved Visual Basic
4 Posts 4 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.
  • P Offline
    P Offline
    Pasan148
    wrote on last edited by
    #1

    Is there any method to insert a combo box in to list box. I want to allow users to choose items in a list box. It just like check boxes in a list box. But i want to use combo boxes instead of check boxes.

    D L 2 Replies Last reply
    0
    • P Pasan148

      Is there any method to insert a combo box in to list box. I want to allow users to choose items in a list box. It just like check boxes in a list box. But i want to use combo boxes instead of check boxes.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      No, there isn't. You'd have to create your own custom control to do this. But, I've never seen or heard of anything like this being done. I have heard of nested listbox controls, but only in WPF, not Windows Forms.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      1 Reply Last reply
      0
      • P Pasan148

        Is there any method to insert a combo box in to list box. I want to allow users to choose items in a list box. It just like check boxes in a list box. But i want to use combo boxes instead of check boxes.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Use a DataGridView with a DataGridViewComboBoxColumn[^]

        Bastard Programmer from Hell :suss:

        P 1 Reply Last reply
        0
        • L Lost User

          Use a DataGridView with a DataGridViewComboBoxColumn[^]

          Bastard Programmer from Hell :suss:

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

          Good Alternative.

          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