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 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.

Paul

> On 19Feb, 2021, at 9:49 AM, jbv via use-livecode 
>  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.
> 
> jbv
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 <
use-livecode@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.
>
> jbv
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/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.

jbv

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 tried on mouseLeave but couldn't get 
that to work.

Thank you in advance!

Larry
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 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 tried on mouseLeave but couldn't get 
 that to work.
 
 Thank you in advance!
 
 Larry
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 

COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
contain confidential proprietary or privileged information. If you are not the 
intended recipient, you are strictly prohibited from using, reproducing, 
disclosing or distributing the information contained in this email without 
authorisation from WesTrac. If you have received this message in error please 
contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
with computer virus, data corruption, delay, interruption, unauthorised access 
or unauthorised amendment. We reserve the right to monitor all e-mail 
communications.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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.
 
 Is there a way to capture the final scrollbar value and then update the file 
 when the user is finished dragging?  I tried on mouseLeave but couldn't get 
 that to work.
 
 Thank you in advance!
 
 Larry
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


-- 

Use an alternative Dictionary viewer:
http://bjoernke.com/bvgdocu/

Chat with other RunRev developers:
http://bjoernke.com/chatrev/



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 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.


Is there a way to capture the final scrollbar value and then update the 
file when the user is finished dragging?  I tried on mouseLeave but 
couldn't get that to work.


Thank you in advance!

Larry
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode



--

Use an alternative Dictionary viewer:
http://bjoernke.com/bvgdocu/

Chat with other RunRev developers:
http://bjoernke.com/chatrev/



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode 



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


- 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 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.

 Is there a way to capture the final scrollbar value and then update the 
 file when the user is finished dragging?  I tried on mouseLeave but 
 couldn't get that to work.

 Thank you in advance!

 Larry
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


 -- 

 Use an alternative Dictionary viewer:
 http://bjoernke.com/bvgdocu/

 Chat with other RunRev developers:
 http://bjoernke.com/chatrev/



 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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-
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


- 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 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.

 Is there a way to capture the final scrollbar value and then update the 
 file when the user is finished dragging?  I tried on mouseLeave but 
 couldn't get that to work.

 Thank you in advance!

 Larry
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


 -- 

 Use an alternative Dictionary viewer:
 http://bjoernke.com/bvgdocu/

 Chat with other RunRev developers:
 http://bjoernke.com/chatrev/



 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode