Results 1 to 2 of 2

Thread: adding items to listview box

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 1999
    Location
    London, England
    Posts
    213

    adding items to listview box

    Can someone please show me how to select an item from a listview box and add it to another listview box. Both listview boxes have three columns.

  2. #2
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011
    If you want to add selected Item from ListView1 to ListView2
    Try the following

    set LItem = ListView2.listitems.add( ,ListView1.SelectedItem.Key, ListView1.SelectedItem.Text)
    LItem.SubItems(1) = ListView1.SubItems(1)
    LItem.SubItems(2) = ListView1.SubItems(2)


    Hope it works
    moinkhan

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