Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Jul 2003
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    listview positioning 2 (VB6)

    I sorted my initial problem thanks to Hans and now I'm stuck on problem 2!!

    I've got my highlighted item in my listview and now I need to scroll the listview so that the highlighted item is in the visible portion of the screen.

    Any ideas

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: listview positioning 2 (VB6)

    Use

    ListView1.SelectedItem.EnsureVisible

    where ListView1 is the name of the listview control.

    For the future: since this is clearly a follow-up question to <post#=473210 >post 473210 </post#>, it would have been better to ask this question in the same thread.

  3. #3
    New Lounger
    Join Date
    Jul 2003
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: listview positioning 2 (VB6)

    point taken

    Thankyou Hans

Posting Permissions

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