Page 1 of 1

How to set a scrollbar to fill the whole scroll area?

Posted: Wed Dec 05, 2018 11:16 am
by coco2
What parameters do you give to the scrollbar to make it fill the whole scroll area, so you can't move it?
Like what do you set the min, max, pagelength and gadget value to? I have never worked this out after experimenting for days.

Re: How to set a scrollbar to fill the whole scroll area?

Posted: Wed Dec 05, 2018 11:34 am
by coco2
I found the solution, you just have to set the pagelength to max + 1, and also the maximum has to be min + 1 (for it to work on Mac)

Can't believe I couldn't figure it out for so long :oops:

Re: How to set a scrollbar to fill the whole scroll area?

Posted: Thu Dec 06, 2018 7:05 am
by coco2
Ok one more thing. Is it possible to show a scrollbar, but NOT the slider? Like in Firefox if a web page is not big enough to scroll, the scrollbar is there, but there's no slider.

Re: How to set a scrollbar to fill the whole scroll area?

Posted: Sat Dec 08, 2018 1:09 am
by coco2
Found it, you just use DisableGadget()