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…

#48016
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.

#172683
Jan 25, 2010 at 10:09pm

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

#172684
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. –
#172685
Jan 25, 2010 at 11:28pm

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

lh

#172686
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

#172687

You must be logged in to reply to this topic.