We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › controlP5 - select all option for checkbox
Page Index Toggle Pages: 1
controlP5 - select all option for checkbox? (Read 1386 times)
controlP5 - select all option for checkbox?
Dec 29th, 2009, 8:20am
 
In the contolP5 GUI, is there a way to select all checkbox items by using a button? e.g. Can you set the array value of a checkbox group?


Re: controlP5 - select all option for checkbox?
Reply #1 - Dec 29th, 2009, 2:15pm
 
There is a deactivate all, but not an activate all.
checkbox.deactivateAll();

Try the toggle instead.. you can set this as true/false.
Re: controlP5 - select all option for checkbox?
Reply #2 - Dec 31st, 2009, 5:50am
 
perfect, that does exactly what I need.  thanks for your suggestion.
Page Index Toggle Pages: 1