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. Checked List Box, Select Only One Row

Checked List Box, Select Only One Row

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

    Hey guys, I'm having an issue with the windows CheckedListBox control. I set it to only be able to select one row at a time, however it still allows multiple checked rows, just not multiple highlighted rows, anyone know of a way to be able to only check a single row? Thanks for any help, Pablo

    Apparently it's not OK to start a bonfire of Microsoft products in the aisles of CompUSA even though the Linuxrulz web site says so

    CPalliniC 1 Reply Last reply
    0
    • P Polymorpher

      Hey guys, I'm having an issue with the windows CheckedListBox control. I set it to only be able to select one row at a time, however it still allows multiple checked rows, just not multiple highlighted rows, anyone know of a way to be able to only check a single row? Thanks for any help, Pablo

      Apparently it's not OK to start a bonfire of Microsoft products in the aisles of CompUSA even though the Linuxrulz web site says so

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      Polymorpher wrote:

      however it still allows multiple checked rows

      This is the correct behaviour, since selected items are the highlighted, not the checked ones. IMHO you have to explicitely uncheck the previuos checked item(s) (the CheckedListBox.CheckedIndices will be handy for the purpose) to obtain the aimed result. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

      In testa che avete, signor di Ceprano?

      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