Height of progress scrollbar

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
hutchfx
Posts: 37
Joined: Sat Apr 09, 2011 5:38 am

Height of progress scrollbar

Post by hutchfx » Wed Jan 17, 2018 1:45 am

Changing the height of a horizontal progress scrollbar only changes the rectangle of the object. Is there a way to change the height of the visible bar?

Thanks!

Hutch

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Height of progress scrollbar

Post by bogs » Wed Jan 17, 2018 3:34 am

On a scrollbar, it is the thumbsize your looking to change I am pretty sure.
Image

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Height of progress scrollbar

Post by jmburnod » Wed Jan 17, 2018 11:13 am

Hi Hutch,
Is there a way to change the height of the visible bar
I think no, but you can create your own progress/scroll bar with LC :D
Best regards
Jean-Marc
https://alternatic.ch

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Height of progress scrollbar

Post by richmond62 » Wed Jan 17, 2018 1:27 pm

The thumbSize of a horizontal scrollbar determines
how LONG the thumb of the scrollbar is.

While you can use scrollbarWidth to "fatten" the scrollbars in a field you
cannot, for some odd reason, do that with a standalone scrollBar.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Height of progress scrollbar

Post by richmond62 » Wed Jan 17, 2018 1:51 pm


bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Height of progress scrollbar

Post by bogs » Wed Jan 17, 2018 4:11 pm

richmond62 wrote:
Wed Jan 17, 2018 1:27 pm
The thumbSize of a horizontal scrollbar determines
how LONG the thumb of the scrollbar is.
My bad, I thought that was what he was trying to change. Yah, rolling your own is the only way I know of then.
Image

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Height of progress scrollbar

Post by jmburnod » Wed Jan 17, 2018 5:57 pm

Hi,
There is a custom slider example stack in this thread:
http://forums.livecode.com/viewtopic.php?f=8&t=29582
Jean-Marc
https://alternatic.ch

Post Reply

Return to “Talking LiveCode”