Results 1 to 2 of 2

Thread: Clearing Selected Fields In ListBox

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2003
    Posts
    55

    Clearing Selected Fields In ListBox

    hey its me again sorry,

    case is the code snippet to clear a selected piece of data in list box


    eg

    1
    2
    3
    4
    5
    5
    6
    7

    i wish to dlete the extra 5 how would i get round that cheers

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    VB Code:
    1. ListBox1.Items.Remove(ListBox1.SelectedItem)
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

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