Forums > MaxMSP

Cellblock and autoscroll Revisited

September 28, 2008 | 9:58 pm

Just one more try… Otherwise I have to face the fact that this can’t be done:
A cellblock with a scrollbar. The selection is controlled by software. So the selection runs outside the window eventually. Is there a way to scroll the window, software-controlled, so that the selection will stay visible all the time?

Bye

Peter


September 29, 2008 | 12:11 am

Yes, it’s very do-able, with a few assumptions:

1) That you know the total number of rows in your cellblock, and

2) That you know the row number of the selected cell.

Assuming those things, you can use the synchronization inlet (the
rightmost one) to do what you want to do. For clues, hook up the
sync output (2nd from right) of a cellblock to a print object, and
see what comes out to your Max window…

Dan

At 3:58 PM -0600 9/28/08, Peter wrote:
>Just one more try… Otherwise I have to face the fact that this
>can’t be done:
>A cellblock with a scrollbar. The selection is controlled by
>software. So the selection runs outside the window eventually. Is
>there a way to scroll the window, software-controlled, so that the
>selection will stay visible all the time?
>
>Bye
>
>Peter


Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major
Malfunction
http://www.defectiverecords.com

http://www.jackosx.com


September 29, 2008 | 3:46 am

Dan nailed it. To be specific, move around a cellblock and see what
the sync click message gives you. An additional hint? The second and
fourth numbers range from 0. to 1.

[ddg]
Darwin Grosse

On Sep 28, 2008, at 6:11 PM, Dan Nigrin wrote:

> Assuming those things, you can use the synchronization inlet (the
> rightmost one) to do what you want to do. For clues, hook up the
> sync output (2nd from right) of a cellblock to a print object, and
> see what comes out to your Max window…
>
> Dan


September 29, 2008 | 1:36 pm

I’m not behind my soundcomputer now but this should be enough to get it going.
Thanks a lot.

Peter


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