I am using a listview control - with Checkboxes = True ie. checkboxes appear next to every item. Does anyone know of a quick way to see how many of these items are checked without doing a loop to check every item??
I would imagine that even if a special command did exist it would just be looping through because VB would have to check the state of each box and what other way than by using a loop whether you have personally coded it or not?
Just make a label and the caption will depend on the items checked if a listbox item is checked the the label caption will be +1 if an item is unchecked the the label caption will be -1 your answer will be based on the label caption..which can be hidden and called up later..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.