Here's a little patch for implementing horizontal radio buttons
Hi folks,
In case you find this useful, here's a little utility patch I made to solve a problem I had earlier today. It implements a set of horizontal radio buttons. Should be pretty self explanatory, I'm a Max newbie, so advanced it ain't, but for other newbies it may be helpful.
You can set the buttons by sending a list to the input, or clicking on them directly when the patch is locked.
Docs are the comments.
Cheers,
Eddy
I had found that :
If you don't need the text on the buttons you can always use the "one active cell per row" feature of [matrixctrl].
lh
Great info chaps,
Thank you - that's extremely useful.
Eddy
And with this message to an lcd:
size 38 19, bgtransparent 1, clear, frameoval 4 4 15 15, frameoval 23 4 34 15, paintoval 25 6 32 13, writepict
you could easily construct a custom cell image for matrixctrl.
jvkr wrote on Sun, 22 November 2009 13:36And with this message to an lcd:
size 38 19, bgtransparent 1, clear, frameoval 4 4 15 15, frameoval 23 4 34 15, paintoval 25 6 32 13, writepict
you could easily construct a custom cell image for matrixctrl.
Excellent tip - thank you.
Eddy
I needed a group of radio buttons as well --- I came up with the following, which I think is simpler than previous examples