disabling a number box with a button

Jan 25, 2010 at 9:59pm

disabling a number box with a button

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…

Jan 25, 2010 at 10:03pm

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

Jan 25, 2010 at 10:09pm

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

Jan 25, 2010 at 10:23pm

ok Tim.
I didn’t know that!

thanks a lot !!

so, here is the thing I did.

– Pasted Max Patch, click to expand. –
Jan 25, 2010 at 11:28pm

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


Jan 26, 2010 at 10:06am

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


You must be logged in to reply to this topic.