How do I make a large scrolling window?

Ken Norris pixelbird at interisland.net
Sun Apr 11 23:08:18 EDT 2004


Hi Graham,

> Date: Sun, 11 Apr 2004 22:58:13 +0200
> From: Graham Samuel <graham.samuel at wanadoo.fr>
> Subject: How do I make a large scrolling window?

> What is not clear is what happens if you want to have the scroll distance a
> lot larger (let's say higher) than the available screen size: how do you
> get to see the far-off parts of the group in order to populate it in the
> first place, using the usual method of positioning objects visually?
-----------
Make a large image and group it a smaller size so that it scrolls. Then edit
the group, adding objects where you want them.

I made a metamap set that scrolls via mousemove techniques. I could have
added scrollbars to the group, but I didn't want them in that case.

The large map is 3ft x 4 ft. That's waaay offscreen and even waaay waaaaay
larger than the window it's in. As such, it's a big file, and not practical
for emailing.

However, you're in luck. I made a demo that shows how it works, same basic
scripts. I added a couple of buttons just now by editing the group.

This I can send if you want to take a look. It scrolls via the scrollbars
_or_ the mousemove routine, which backscrolls the scrollbars correctly at
the same time.

Might give you some ideas. OK to send it to you offlist?

Ken N.



More information about the use-livecode mailing list