Results 1 to 3 of 3

Thread: ListView 5.0 x ListView 6.0

  1. #1

    Thread Starter
    Registered User
    Join Date
    Apr 1999
    Location
    Brazil
    Posts
    144

    Post

    In ComCtl32.ocx when you used:
    nLastITEM=ListView1.ListItens.Count
    ListView1.ListItens(nLastITEM).Selected=True
    then the last iten where selected and appears in the screem and the scroll bar downs too.

    Now in MSCOMCTL.OCX this don't take any effect!

    Some one knows how can I select the last item and make it appears select for the user even if need scroll the ListView!!

    Thanks in advance.
    Jefferson

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Location
    Brossard, Québec, Canada
    Posts
    241

    Post

    lstListView1.SelectedItem.EnsureVisible

  3. #3

    Thread Starter
    Registered User
    Join Date
    Apr 1999
    Location
    Brazil
    Posts
    144

    Post

    I've been tried with out sucess!

    Thanks.
    Jefferson

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