Determining a treeview's checkbox state when clicked

2 posts in this topic

benners 28

I am trying to get the checked state of a treeview item when the user checks or unchecks the items checkbox. I want to be able to update a label with the number of checked items whenever one changes. I am using the code below but sometimes the wrong state is returned. Is there a better way?.