Create Custom Scrollbar

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
charms
Posts: 122
Joined: Mon Feb 10, 2014 6:21 pm
Location: Singapore
Contact:

Create Custom Scrollbar

Post by charms » Fri Apr 18, 2014 1:56 pm

Hello,

I'm trying to create a custom scrollbar. I followed this tutorial:
http://runrev.screenstepslive.com/s/les ... m-controls

The tutorial however just explains the basics under the hood. So I have downloaded the example but with LiveCode 6.6.1 it doesn't seem to work anymore. As soon I click the "Update" button with the default values then the slider crunches together and only one of the end buttons remains visible. When I try to resize then it does nothing else then changing it's position.

Before I start to dig in to the code of this tutorial and try to fix things, is there a good up-to-date tutorial how to create a custom scrollbar? Or a working example stack?

Thanks,
Chris

Klaus
Posts: 12462
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Create Custom Scrollbar

Post by Klaus » Fri Apr 18, 2014 2:07 pm

Hi Chris,

I found a working copy of that stack on my hd.
Please find it attached.


Best

Klaus
Attachments
custom_scrollbar_example.livecode.zip
Working version
(16.98 KiB) Downloaded 150 times

charms
Posts: 122
Joined: Mon Feb 10, 2014 6:21 pm
Location: Singapore
Contact:

Re: Create Custom Scrollbar

Post by charms » Fri Apr 18, 2014 6:10 pm

Hi Klaus,

Thanks, this one works better. Vertical doesn't seem to work. But I'll try to figure that one out.

Thanks for the example.

Kind regards,
Chris

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”