Results 1 to 3 of 3

Thread: Where did my FindItem method go ????

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2003
    Posts
    24

    Where did my FindItem method go ????

    Hi all, I'm using a LISTVIEW and want to use my good old FindItem method from VB6 but cannot find it anywhere... Anyone ever wanted to find a particualr ListItem within a listview in .NET ?

    C'mon this is got to be an easy one... maybe an Interface that searches tru colelctions could work ?

    Cheers !

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    this searches collection based on index # .
    VB Code:
    1. ListView1.Items.IndexOf

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2003
    Posts
    24
    Well I rather not use the index property because (I don't know if they fixed that from VB6 in .NET) but in a VB6 Listview when you sort your data (column header click) there was a bug where the indexs were not re-calculated... anyways, thx alot !

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