Menu

Want to work with us? We're on the lookout for digital experts.

We're hiring

Remove selected item from checkboxlist

Web Bureau


13 December 2010 by Web Bureau

The following will allow you to remove the selected item from a checkboxlist

        Dim i As Integer
        For i = 0 To lb_Categories.Items.Count - 1
            If lb_Categories.Items(i).Selected = True Then
                lb_Categories.Items.RemoveAt(i)
                Exit Sub
            End If
        Next 

Grow your businessStart a project with us today.

This site uses essential cookies for parts of the site to operate and have already been set. Find out more about how we use cookies and how you may delete them. You may delete cookies, but parts of the site will not work.