scrolling in a window?
Hi,
This seems like an obvious question but I can't find an answer - is
it possible to scroll through a patcher (and jump around to different
sections of it) by an object, or message? For example, if I have a
long patch window where you can only see a portion of it, and then I
want to scroll it to the right so you can see another portion of it.
Cheers
Evan
As part of a UI you're construction or to improve programming experience. For the latter, you'll have to wait for the next version of max (with it's zooming options). For the first, a bpatcher and the ofsetmessage would work.
_
johan
If you want to auto-scroll the patch and it's not in a bpatcher, you can actually use a mini-javascript with
function scroll_window(x,y) {
this.patcher.wind.scrollto (x,y);
}
there may be syntax problems there, not sure. so from Max into the .js file, you'd send "scroll_window $1 $2" , with your X and Y anything you want. presets are good here.
or a floating control window with the XY mouseable.
-CJ
Am 17.01.2008 um 12:26 schrieb evan.raskob [lists]:
> This seems like an obvious question but I can't find an answer - is it
> possible to scroll through a patcher (and jump around to different
> sections of it) by an object, or message? For example, if I have a
> long patch window where you can only see a portion of it, and then I
> want to scroll it to the right so you can see another portion of it.
>
check out the patch a little down this thread:
cheers, g.