Results 1 to 5 of 5

Thread: Tips about LISTBOX

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    208

    Wink

    Put here all what you know about list box..
    It will help me to do my new application..
    cause all in this application is about LISTBOX
    so..
    I wait for your tip & trick !!!

  2. #2

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    208
    hum..
    I want some information about
    COLUMN or MULTI-CHECKBOX DELETING

  4. #4
    Guest
    Do you mean deleting items in multi-select listboxes??

    Code:
    Private Sub Command1_Click()
        On Error Resume Next
    
        Dim i As Integer
        With List1
            For i = .ListCount - 1 To 0 Step -1
                If .Selected(i) Then
                    .RemoveItem (i)
                End If
            Next
        End With
    End Sub
    it has to go backwards, because... well Its kinda hard to explain, but it just doesnt work right if it doesnt go backwards.

    [Edited by denniswrenn on 09-09-2000 at 08:27 PM]

  5. #5

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