All,
If you send a "label" message to an IEM GUI without an argument it
doesn't replace the label field in the patch file with "empty" (like it
does if you manually clear the label in the GUI properties), but just a
blank.
This causes all manner of weirdness by shifting all the GUI's arguments
over by one.
I've seen this with the radio buttons and the sliders, I assume it's the
same for the rest of them.
See the attached patch, open radiomain.pd and follow the instructions.
Cheers,
David
ps. Of course a "label empty" message behaves properly, but I don't
think the blank "label" message ought to behave this way.
--
.
. David McCallum
. Music wants to be free
.
http://sintheta.org
.
#N canvas 376 158 786 344 10;
#X text 387 133 <-- 2 Click me to save the abstraction;
#X text 430 173 <-- 3 Click me to call a new copy of the abstraction.
;
#X text 244 283 David McCallum , sintheta.org;
#X msg 235 16 label;
#X text 284 12 <-- 1 Click me to clear the label.;
#X msg 233 126 ; pd-radioabs.pd menusave;
#X msg 232 170 ; pd-radiomain.pd obj 0 0 radioabs;
#X obj 235 40 radioabs;
#X text 235 231 4 Observe the weirdness.;
#X connect 3 0 7 0;
#N canvas 0 0 117 46 10;
#X obj 19 13 inlet;
#X obj 19 35 hradio 8 1 0 8 empty empty empty 0 -6 0 8 -143491 -1 -1
0;
#X connect 0 0 1 0;
#X coords 0 0 1 1 50 50 1;