Results 1 to 3 of 3

Thread: listview, icons, and double clicking

  1. #1

    Thread Starter
    Frenzied Member SomethinCool's Avatar
    Join Date
    Jan 2001
    Location
    Malvern, PA
    Posts
    1,407

    Talking listview, icons, and double clicking

    How could i make my program close Form1 and open Form2 when they double click on ListViewItem #0 in VB.net?

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Look at the attachted demo :
    Attached Files Attached Files

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    another neater way just crossed my mind :

    If ListView1.Items(0).Selected = True Then
    MsgBox("You clicked index 0")
    Me.Hide()
    frm2.Show()
    End If

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