Results 1 to 2 of 2

Thread: Listview

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    California
    Posts
    115
    Several Questions about ListView:

    1. How Do I delete the selected item from a Listview?

    2. I have two colums, how can i get the selected text from both colums?

    Thanks,
    Ryan

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    First question:
    Code:
    ListView1.ListItems.Remove SelectedItem.Index
    Second question:
    Code:
    strSecondColumn = ListView1.SelectedItem.SubItems 1
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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