I sent a reply once all ready but it didn't go through. So apologies
if this ends up happening twice:
You could use two number boxes and a ubutton with scripting, like this:
One down side is you have to click once to activate the number box s
and if you scroll before the scripting the ubutton doesn't trigger
the scripts, but (some of ) that could probably be fixed.
max v2;
#N vpatcher 481 147 1166 591;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 317 151 30 196617 203;
#P message 317 124 39 196617 set \$1;
#P newex 288 84 53 196617 t b b b i;
#P newex 383 154 40 196617 b 3;
#P message 3 202 132 196617 script bringtofront button1;
#P message 503 197 126 196617 script sendtoback button1;
#P message 414 197 85 196617 script hide num1;
#P message 233 197 85 196617 script hide num2;
#P message 321 197 90 196617 script show num2;
#P message 139 199 90 196617 script show num1;
#P number 288 52 35 9 0 0 64 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname num2;
#N thispatcher;
#Q end;
#P newobj 298 313 61 196617 thispatcher;
#P hidden number 288 52 35 9 0 0 8192 3 0 0 0 221 221 221 222 222 222
0 0 0;
#P objectname num1;
#P user ubutton 282 50 47 19 0 0;
#P objectname button1;
#P connect 11 0 9 0;
#P connect 11 1 4 0;
#P connect 11 2 6 0;
#P hidden connect 3 0 1 0;
#P hidden connect 3 0 11 0;
#P connect 4 0 2 0;
#P connect 6 0 2 0;
#P connect 5 0 2 0;
#P connect 7 0 2 0;
#P connect 9 0 2 0;
#P connect 8 0 2 0;
#P connect 11 3 12 0;
#P connect 12 0 13 0;
#P connect 10 0 5 0;
#P hidden connect 0 0 10 0;
#P connect 10 1 7 0;
#P connect 10 2 8 0;
#P pop;
On Dec 4, 2007, at 10:22 PM, Seejay James wrote:
>
> If I wanted to implement all transparent-background number boxes
> for my interface, with them becoming standard boxes when selected,
> that's OK when you tab through them---you can set the flags right
> along with the "select" message. But if you mouse-change a box, is
> there any way for it to know it's been selected, and therefore
> become non-transparent? I know a "change" could work, but if
> they're being recalled from a preset or an mtr that might not be
> desirable.
>
> Really I'm after a way to keep the nice indicator of the triangle
> and the box when one number box has focus, and keep the rest
> transparent, to eliminate some of the "boxiness" of the overall
> interface. Not a problem with tabbing through, but it's the mousing
> that I can't quite figure out.
>
> Probably this will be moot in M5...
>
> --CJ