Re: scrollbar question

2021-02-19 Thread Paul Hibbert via use-livecode
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

Re: scrollbar question

2021-02-19 Thread Tom Glod via use-livecode
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 <

scrollbar question

2021-02-19 Thread jbv via use-livecode
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.

scrollbar question

2014-04-05 Thread larry
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

Re: scrollbar question

2014-04-05 Thread Nakia Brewer
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 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

Re: scrollbar question

2014-04-05 Thread Björnke von Gierke
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.

Re: scrollbar question

2014-04-05 Thread larry
Thank you Bjornke, exactly what I needed. Larry - Original Message - From: Björnke von Gierke b...@mac.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Saturday, April 05, 2014 2:05 AM Subject: Re: scrollbar question on mouseUp put the thumbposition of me end

Re: scrollbar question

2014-04-05 Thread dunbarx
How about the scrollerEndDrag message? Craig Newman -Original Message- From: larry la...@significantplanet.org To: How to use LiveCode use-livecode@lists.runrev.com Sent: Sat, Apr 5, 2014 7:04 am Subject: Re: scrollbar question Thank you Bjornke, exactly what I needed. Larry

Re: scrollbar question

2014-04-05 Thread dunbarx
Oops. This may have not been helpful. Craig -Original Message- From: dunbarx dunb...@aol.com To: use-livecode use-livecode@lists.runrev.com Sent: Sat, Apr 5, 2014 9:38 am Subject: Re: scrollbar question How about the scrollerEndDrag message? Craig Newman -Original Message