paul at livecode.org
Fri Feb 19 17:08:52 EST 2021
You have probably figured this out by now, but I just tried this on LC9.6.2(rc2) on a Mac plus Windows and setting both the lineInc and the pageInc to zero stops the user from changing the thumbPosition when clicking on the bar of the scrollbar, but doesn’t affect the dragging of the thumb.
I also agree with Tom, scrollbars are pretty easy to build and customise to suit your own requirements, one advantage is the user will have the same experience on Mac and Win if that’s something you need/want.
> On 19Feb, 2021, at 9:49 AM, jbv via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hi lust,
> How can I prevent the thumb of a scrollbar to move when user
> clicks on the scrollbar, but not on the thumb, when it's set
> as a slider ?
> I tried to trap scrollbarLineDec and scrollbarLineInc, and
> also to set the lineincrement to 0, but to no avail.
> What am I missing ?
> Thanks in advance.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode