Best way to create a dynamic list of checkboxes?

Learn about building and using Max for Live devices.
Post Reply
patrickstinson
Posts: 168
Joined: Thu Oct 13, 2011 5:01 am
Location: Anchorage, Alaska
Contact:

Best way to create a dynamic list of checkboxes?

Post by patrickstinson » Wed Dec 23, 2015 4:13 pm

I have a device that detects tracks that have a Looper device, and I want to dynamically create a UI with a checkbox for each track with the track number to enable/disable a feature for that track. Any ideas on how this is possible?
Web | Mobile | Audio
http://vedanamedia.com/

chapelier fou
Posts: 6021
Joined: Mon May 15, 2006 12:15 pm

Re: Best way to create a dynamic list of checkboxes?

Post by chapelier fou » Wed Dec 23, 2015 5:25 pm

We would need more details... from what i read here i would advice : live.toggle. But that's probably not what you're looking for...
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

patrickstinson
Posts: 168
Joined: Thu Oct 13, 2011 5:01 am
Location: Anchorage, Alaska
Contact:

Re: Best way to create a dynamic list of checkboxes?

Post by patrickstinson » Wed Dec 23, 2015 5:28 pm

I want to create a dynamic list of checkboxes (say up to 12 or so) at runtime based on conditions within my script. I'm looking for a creative way to create a UI like this. scroll box? javascript to create checkboxes? A special control I don't know about?
Web | Mobile | Audio
http://vedanamedia.com/

doubleUG
Posts: 249
Joined: Sun Apr 24, 2011 7:19 am

Re: Best way to create a dynamic list of checkboxes?

Post by doubleUG » Wed Dec 23, 2015 6:30 pm

look at object "thispatcher" helpfile "Making new object"
copy the text, open Live > drag in empty M4L device > open Max editor > paste > save M4L device
https://docs.cycling74.com/max8/vignett ... ng_patches

https://doubleUG.bandcamp.com/releases

Post Reply