Results 1 to 4 of 4

Thread: newbie question ...

  1. #1

    Thread Starter
    Lively Member slx47's Avatar
    Join Date
    Apr 2002
    Location
    US
    Posts
    127

    newbie question ...

    how do you get the index of the selected item in listview ?

  2. #2
    Member wej42's Avatar
    Join Date
    May 2002
    Location
    Rhode Island, USA
    Posts
    48
    list.Columns.Count()
    Visual Basic 6.0, Visual Basic .NET, C#, C++, ASM, HTML

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    pretty sure thats not right..

    should be something like

    listview.items.selectedItem

    or something very close to that..
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4
    Member wej42's Avatar
    Join Date
    May 2002
    Location
    Rhode Island, USA
    Posts
    48
    no im pretty sure thats right, for the total count at least...
    Visual Basic 6.0, Visual Basic .NET, C#, C++, ASM, HTML

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width