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. Get index of selected item in Listbox

Get index of selected item in Listbox

Scheduled Pinned Locked Moved Visual Basic
questiondatabase
5 Posts 3 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.
  • G Offline
    G Offline
    Glen Conaway
    wrote on last edited by
    #1

    How do I get the index of a selected item in a listbox? Many thanks, Glen Conaway

    C N 3 Replies Last reply
    0
    • G Glen Conaway

      How do I get the index of a selected item in a listbox? Many thanks, Glen Conaway

      C Offline
      C Offline
      ccotton333
      wrote on last edited by
      #2

      Are you talking about trying to use it somewhat like a directory structure?

      1 Reply Last reply
      0
      • G Glen Conaway

        How do I get the index of a selected item in a listbox? Many thanks, Glen Conaway

        C Offline
        C Offline
        ccotton333
        wrote on last edited by
        #3

        Are you trying to use it somewhat like a directory structure?

        1 Reply Last reply
        0
        • G Glen Conaway

          How do I get the index of a selected item in a listbox? Many thanks, Glen Conaway

          N Offline
          N Offline
          Name Removed
          wrote on last edited by
          #4

          Try the .SelectedIndex() property of the listbox. Hope This Helps Kyle

          G 1 Reply Last reply
          0
          • N Name Removed

            Try the .SelectedIndex() property of the listbox. Hope This Helps Kyle

            G Offline
            G Offline
            Glen Conaway
            wrote on last edited by
            #5

            Works great!!! Many Thanks, Glen Conaway

            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