Results 1 to 3 of 3

Thread: [RESOLVED] [2005] ListView

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Posts
    224

    Resolved [RESOLVED] [2005] ListView

    Hi,

    What is the parallel code in listview for listbox1.selectedindex = N

    Thanks in advance

  2. #2
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    Re: [2005] ListView

    Not sure what you mean by parallel code? Could you explain that a bit more?
    Visual Studio Team Edition 2005
    GDI+ Links: Bob Powell VB.Net Heaven
    API Links: All API Pinvoke.Net
    VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread)

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Posts
    224

    Re: [2005] ListView

    Hi,

    This is the answer:

    Code:
    ListView1.Items(N).Selected = True 
    ListView1.Items(N).EnsureVisible() 
    ListView1.Select()

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