slider with 2 thumb

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
MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

slider with 2 thumb

Post by MaxV » Mon Dec 02, 2013 5:55 pm

Hello,
I need a slider with 2 thumbs, because user needs to select an interval of time between two different hours. My idea is to use a slider representing 0-24 day hours with 2 thumbs, since unfortunately user will not have any keyboard, just a touch screen.
Have you any idea or suggestion?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: slider with 2 thumb

Post by Mark » Mon Dec 02, 2013 6:22 pm

Hi,

1) Make two sliders, one for minimum and one for maximum, and adjust the slider for the minimum value if the maximum slider gets too low while adjusting the slider for the maximum value if the minimum slider gets too high;

2) make your own fake slider, but it will probably look a little strange to the unsuspecting user.

Let me know which option you like most.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4174
Joined: Sun Jan 07, 2007 9:12 pm

Re: slider with 2 thumb

Post by bn » Mon Dec 02, 2013 9:17 pm

Hi Max

have a look at this slider from Scott Rossi, the master of the interface, which he posted to the use list

http://runtime-revolution.278305.n4.nab ... l#a1563980

I tried and the download still works. To make it work you have to copy the whole line Scott has put there and paste it into the message box. Then hit return and the stack will appear. You can then save it. You probably would have to ask Scott for licensing conditions.

Kind regards
Bernd

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: slider with 2 thumb

Post by MaxV » Tue Dec 03, 2013 10:56 am

Thank you guys!
I'm looking the Scot Rossi example and it is impressive!
I'll have to work a lot with graphic...
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply