Forums > Javascript

how to scroll LCD view within it's smaller Presentation?

Oct 23 2009 | 5:30 am


Many hours searching help and forum – probably something simple.

Need to hook up a horizontal scrollbar that controls an LCD within a bpatcher.

Not sure the bpatcher is an important element… trying to get this to working in a single patch with same problem.

Need to be able to create an LCD of dimensions 1600×1200, yet display in a smaller window of 400×500 – with added scrollbars.

Because of annotations outside of the LCD, I can’t readily scroll the entire bpatcher because the annotation/labels would be gone.

Seems there should be an easy way to specify the region of the LCD to be displayed within the presentation, but don’t see how this works.

Thank you for your help!


ps: I like the visual look of scrollbar, but the output is a bit awkward to work with – could there be something similar in look with more flexible coordinate output? ie, with the range specified, seems would be simpler to output the x coordinate… of course, not too difficult to calculate.

Oct 23 2009 | 9:17 am

Try loading your [lcd] patch in a [bpatcher] and then use the "offset" message. This way you can build your own scroll control method rather than relying on scroll bars.


Oct 24 2009 | 10:59 am

piece of cake!

worked perfectly!

Thank you!

Nov 01 2010 | 6:14 pm

I have a similar situation, except I am using a gargantuan LCD. I noticed today that the maximum size for the LCD is something around 9,000 or 10,000 pixels wide. Is there any way to get around this?

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

Forums > Javascript