Results 1 to 3 of 3

Thread: ListView FindItem

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    ListView FindItem

    I am able to find a specific item in a list view... and set its selected value to true... How can I refresh the view in such a way to make the listview scroll to that actual value...

    It is selected but if it is way at hte bottom of the immediate viewing area of the list view, one has to scroll all the way at the bottom...

    Thanks much in advance...

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Code:
    ListView1.SelectedItem.EnsureVisible
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    Hey!

    U Son of a G..od...

    Thanks...

    I was trying lstviewProgs.EnsureVisible = true and was getting an error message...

    Thanks again

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