A simple select and matrix ctrl issue

toddak's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

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?

Chris Muir's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

toddak's icon

Aha, that makes sense now!

Thanks Chris! :)