A simple select and matrix ctrl issue

Feb 21, 2012 at 7:12am

A simple select and matrix ctrl issue

So, I’ve quite often had this little error happening in my program, but finally I have a simple way to illustrate it.

Quite often when I use select, in this case ‘select 0′, it seems to bang when it looks to receive a 1.

Upon closer inspection and tweeking, I’ve figure out that matrixctrl seems to send out two messages at times, one for mouse up, and one for mouse down. So if ‘select 0′ has just fired, and then I choose another value in matrix ctrl, and hold the mouse down, it bangs again, and on the release, shows a new number. Damn little programming weevils…

But I haven’t seen anything in the inspector to de-select this double message dilmemma. I’ve included a short patch below to illustrate. Any ideas?

– Pasted Max Patch, click to expand. –
#61895
Feb 21, 2012 at 7:51am

matrix sends a message to turn off the previous cell before it sends the current cell:

– Pasted Max Patch, click to expand. –
#223503
Feb 23, 2012 at 12:11am

Aha, that makes sense now!

Thanks Chris! :)

#223504

You must be logged in to reply to this topic.