Forums > MaxMSP

disabling a number box with a button

January 25, 2010 | 9:59 pm

I’d like to disable a number box with a button.

I guess it involves "special" messages to be sent to the box…

I cannot find which messages…


January 25, 2010 | 10:03 pm

The ignoreclick message? In case you don’t already know, you can drag almost any attribute from the inspector onto an object.


January 25, 2010 | 10:09 pm

send the message [min 0, max 0] to number box, but it will still output bangs on input


January 25, 2010 | 10:23 pm

ok Tim.
I didn’t know that!

thanks a lot !!

so, here is the thing I did.

– Pasted Max Patch, click to expand. –

January 25, 2010 | 11:28 pm

You can replace the [route] and message boxes with [!- 1]. Clever idea with removing the triangle!

lh


January 26, 2010 | 10:06 am

thanks Luke (about optimizing thing)
I’ll replace a lot of things in my protodeck patch, with that.
I did never think about that :-O


Viewing 6 posts - 1 through 6 (of 6 total)