Coding a scroll bar so that some buttons are off screen

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
madamefeemy
Posts: 3
Joined: Sat Apr 25, 2015 6:53 am

Coding a scroll bar so that some buttons are off screen

Post by madamefeemy » Sun Apr 26, 2015 11:28 pm

Hi,

Let's say that I have a set of buttons through which I'd like to be able to scroll, such that only some of the buttons are visible at a time (and the rest are off screen). Please see the attached illustration.
image.jpg
How might I got about coding this scroll bar? I tried to go through the sample projects and work backwards, but none of them seemed to have this set-up.

Thanks!

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Coding a scroll bar so that some buttons are off screen

Post by Simon » Mon Apr 27, 2015 2:49 am

Hi madamefeemy,
You didn't mention if this was for mobile so here are 2 lessons
http://lessons.runrev.com/m/4071/l/1178 ... the-window
http://lessons.runrev.com/m/4069/l/9441 ... ll-a-field
The basic point is to group the control.

If you get stuck just ask.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply