ListBox (w/Checkboxes)....Deleting Multiple-Selected Items 
Author Message
 ListBox (w/Checkboxes)....Deleting Multiple-Selected Items

I'm working with a ListBox(with/CheckBoxes)...
Looping thru with following code:

For n = lstBox.ListCount -1 To 0 Step -1

     If lstBox.Selected(n) = True
     lstBox.RemoveItem (n)
        lstBox.Refresh

    Else

        lstBox.ListIndex = lstBox.ListIndex - 1

    End If

Next n

Everything seems to work fine unless the user goes back to list &
"HighLites" one of the list-Items not checked....
it seems that the CheckedListBox doesn't work properly...
according to the documentation the "selected" property should not recognize
the
Items that are "HighLited"....only checked Items....this does not seem to be
the case...

Any help would be greatly appreciated....Thnx      8~)




Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. ListBox (w/Checkboxes)....Deleting Multiple-Selected Items

2. Listbox with checkboxes - how to get selected items?

3. deleting multiple item on listbox

4. Question: Deleting Multiple Items in ListBox??

5. Help...ListBox Deleting Multi-Selected Items

6. selecting multiple items in a listbox

7. populating vb.net listbox from selected items of another listbox

8. How to add checkboxes to listbox items?

9. Set items in listbox (style checkboxes) to checked

10. Listbox(w/ multiple checks) vs single checkboxes

11. ListBox With CheckBox Single Select

12. Selecting Multiple Checkboxes on HTML form

 

 
Powered by phpBB® Forum Software