Results 1 to 2 of 2
  1. #1
    Kudi's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    207
    Reputation
    18
    Thanks
    287
    My Mood
    Tired

    Get Selected Index Of ListView

    hi mpgh

    how can i get the selected index of a listview item

    thank you

  2. #2
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Code:
    Dim SelectedIndex As Integer = ListView.SelectedIndices(0)
    Replace ListView with the name of your ListView control.

Similar Threads

  1. [Help] Getting listview subitem text [solved]
    By willrulz188 in forum Visual Basic Programming
    Replies: 3
    Last Post: 07-10-2011, 12:36 AM
  2. Replies: 31
    Last Post: 09-12-2009, 08:56 PM
  3. Get Avatars and Sigs!
    By Dave84311 in forum General
    Replies: 25
    Last Post: 05-17-2006, 08:44 PM
  4. Plz I Want Maple Global Hacks And Where Do I Get Game Engine 2 Make The Hacks Work???
    By mattinthehat in forum MapleStory Hacks, Cheats & Trainers
    Replies: 3
    Last Post: 01-15-2006, 06:12 PM
  5. Free Infantry Gets Owned By MPGH
    By Super-Man in forum General Game Hacking
    Replies: 34
    Last Post: 01-03-2006, 05:29 PM