by vertigo (Posted Thu Feb 16, 2017 6:38 pm)
Chuck, Melissa, and Nancy are files under John and Peter is a folder under John, containing more folders and files. Maybe not the best example, but if we imagine the files are pictures (say, of their kids), then to view just John's kids' pictures we could either select them individually or we could select the checkbox for folder 'John' and deselect the checkboxes next to each folder inside the 'John' folder. In the example, the pictures of Chuck, Melissa, Nancy, Paul, Donna, and Eric are selected, and Pascal, Rutger, and Charlotte are not (and some in the bottom folders are selected as well). Clicking on the checkbox next to 'Chantal' would uncheck that and all folders and files under it (Paul, Donna, and Eric here). Clicking on the checkbox next to Peter (the top one) would initially check all items under it then uncheck them when clicking it a second time, or vice versa. That's how every checkbox tree structure I've used has worked. As I said, this can certainly be a problem if you have it all set up like below then accidentally click the checkbox next to 'The Family' or 'John' or any others really, but the only way around that is to have a potentially annoying dialog box pop up every time and ask if you're sure you meant to click there. But at least with checkboxes it makes it more clear what's going on and it removes the possibility of clearing all your selections by clicking empty space. Maybe a way to prevent accidentally clicking a box and screwing yourself would be to require clicking twice or even double-clicking. This would probably be best as an option, though, as it might bother some people and it certainly would cause people to think it wasn't working correctly if they didn't know it was intended behavior.
Read Main Topic
Chuck, Melissa, and Nancy are files under John and Peter is a folder under John, containing more folders and files. Maybe not the best example, but if we imagine the files are pictures (say, of their kids), then to view just John's kids' pictures we could either select them individually or we could select the checkbox for folder 'John' and deselect the checkboxes next to each folder inside the 'John' folder. In the example, the pictures of Chuck, Melissa, Nancy, Paul, Donna, and Eric are selected, and Pascal, Rutger, and Charlotte are not (and some in the bottom folders are selected as well). Clicking on the checkbox next to 'Chantal' would uncheck that and all folders and files under it (Paul, Donna, and Eric here). Clicking on the checkbox next to Peter (the top one) would initially check all items under it then uncheck them when clicking it a second time, or vice versa. That's how every checkbox tree structure I've used has worked. As I said, this can certainly be a problem if you have it all set up like below then accidentally click the checkbox next to 'The Family' or 'John' or any others really, but the only way around that is to have a potentially annoying dialog box pop up every time and ask if you're sure you meant to click there. But at least with checkboxes it makes it more clear what's going on and it removes the possibility of clearing all your selections by clicking empty space. Maybe a way to prevent accidentally clicking a box and screwing yourself would be to require clicking twice or even double-clicking. This would probably be best as an option, though, as it might bother some people and it certainly would cause people to think it wasn't working correctly if they didn't know it was intended behavior.
Read Main Topic