Results 1 to 3 of 3

Thread: Find selected item in ListView

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    Marietta, GA.
    Posts
    32

    Exclamation

    Hi there. I hope someone can help me out.

    I'm trying to find which row is selected in a ListView without having to loop through all the rows. Only one item can be selected at a time, so that should make it somewhat easier. I just need it to be fast since the lists can grow to well over 150,000 items!

    Thanks!
    Amp

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    You mean this:
    listview1.SelectedItem
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    Marietta, GA.
    Posts
    32
    Jeez, that was extremely easy. I knew there had to be a command that I was overlooking! I appreciate the help!

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