ControlP5 -- being able to select multiple items in a list.
in
Contributed Library Questions
•
3 months ago
Hi Andreas,
Thank you so much for cp5 - I just started using it and it's incredible(!)
I've been trying to make something that requires multiple buttons to be selected at once (kind of like selecting multiple files in a folder using Command + Click) but I couldn't tell if there's a controller/group class that does this. I've taken a look at MultiList, MultiListButton, DropdownList, but all of these look like they only allow a single selection. (I've looked through the javadocs too but couldn't find anything).
Is there a class that will let me multi-select items? If not, do you have a suggestion for how I should approach this? My thought was that I could extend one of the classes so that a click would toggle select/deselect, or maybe just make an arrayList of Tabs/Buttons but I figure you've probably already got a solution for this in there somewhere that I'm missing. :)
Thanks,
adila
(I'm using the version updated
12/23/2012, and Processing 2.0.1);
1