I have a list of checkboxes. I already have a code that does Select/Deselect all. Pretty much all that code does is toggle the status.
What I need is a true Select/Deselect all code.
So when you check the box to Select All, if any boxes are currently checked, it would leave them alone. Any boxes that aren't checked, it would check them.
Same for Deselect. If you uncheck the box, then any boxes that are currently checked would uncheck. Any boxes that are currently unchecked would remain unchecked.