Results 1 to 5 of 5

Thread: [RESOLVED] List View to ListBox thingy

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Resolved [RESOLVED] List View to ListBox thingy

    Hey guys I have a listview called lvwfound and I was wondering, how do I click on a item that added to the list view to a list box thing.


    The code that adds thigns to the list view is

    VB Code:
    1. Dim i As Integer
    2. Dim item As String
    3. Dim iResponce As Integer
    4. i = Me.lvwFound.ListItems.Count 'list count
    5. For i = 0 To i - 1
    6.     'MsgBox Me.lvwFound.ListItems(i + 1)
    7.     item = Me.lvwFound.ListItems(i + 1)
    8.    
    9. '

    Would i replace lvwfound with list4 ? Also i there a click event for a listview so only when I click on items in a listview it will add that item to a listbox?

    Thank you.
    Last edited by Hack; Sep 10th, 2007 at 06:21 AM. Reason: Added RESOLVED to thread title and green resolved checkmark

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