Group buttons Only allow one active at a time

Discuss problems and solutions.
Post Reply
protrax
Newbie
Posts: 2
Joined: 29 Jan 2014 19:50

Group buttons Only allow one active at a time

Post by protrax »

Is there a way to take a group of basic buttons that each send a different midi note signal out and only allow one to be selected at a time.

For example: If you have a group of 3 buttons:

Button 1
Button 2
Button 3

Let's say Button 1is currently selected (hilighted). I want to be able to press Button 2 and have Button 1 then become deselected (unhilighted). Any help is really appreciated. I';ve been scratching my head on this.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Group buttons Only allow one active at a time

Post by Macciza »

Try Switches and set it to Radio mode in Properties . . .
Cheers
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
oldgearguy
Regular
Posts: 315
Joined: 02 Nov 2013 11:19

Re: Group buttons Only allow one active at a time

Post by oldgearguy »

I did it using buttons because I wanted the custom images. It was not straightforward since in my case I also always needed one button highlighted. If you're curious, pull down my TX-802 code from the projects area and look at the LFO_PEG/LFO section. Specifically the pickMe() rooutine combined with the various variables in that section plus the call to pickMe() by the waveform buttons.
Post Reply