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 a
For custom behavior of a scrollbar I think you need to build your own. But
its not difficult from what I can tell.
https://forums.livecode.com/viewtopic.php?t=20077
Have a look there, there is an example stack.
On Fri, Feb 19, 2021 at 12:50 PM jbv via use-livecode <
use-livecode@lists.runrev.co
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.
Oops.
This may have not been helpful.
Craig
-Original Message-
From: dunbarx
To: use-livecode
Sent: Sat, Apr 5, 2014 9:38 am
Subject: Re: scrollbar question
How about the "scrollerEndDrag" message?
Craig Newman
-Original Message-
From: larry
To: How to us
How about the "scrollerEndDrag" message?
Craig Newman
-Original Message-
From: larry
To: How to use LiveCode
Sent: Sat, Apr 5, 2014 7:04 am
Subject: Re: scrollbar question
Thank you Bjornke, exactly what I needed.
Larry
- Original Message -
From: "Bjö
Thank you Bjornke, exactly what I needed.
Larry
- Original Message -
From: "Björnke von Gierke"
To: "How to use LiveCode"
Sent: Saturday, April 05, 2014 2:05 AM
Subject: Re: scrollbar question
on mouseUp
put the thumbposition of me
end mouseUp
On 05.0
on mouseUp
put the thumbposition of me
end mouseUp
On 05.04.2014, at 09:41, la...@significantplanet.org wrote:
> I'm using a scrollbar to allow the user to set a value, but I am writing the
> value to a text file for later use and don't want to constantly update the
> file as the user drags.
Maybe just update a global variable and only write out the text file on app
closure...
Sent from my iPhone
> On 5 Apr 2014, at 6:41 pm, "la...@significantplanet.org"
> wrote:
>
> I'm using a scrollbar to allow the user to set a value, but I am writing the
> value to a text file for later u
I'm using a scrollbar to allow the user to set a value, but I am writing the
value to a text file for later use and don't want to constantly update the file
as the user drags.
Is there a way to capture the final scrollbar value and then update the file
when the user is finished dragging? I tri