I thought of this before I saw Paul’s solution:

Name the scrollbar:  ScrollbarThreeStateButtonValue

on mouseUp

put the thumbposition of me into ScrollbarThreeStateButtonValue

put the round of ScrollbarThreeStateButtonValue into 
VarScrollbarThreeStateButton2

set the thumbposition of me to VarScrollbarThreeStateButton2

end mouseUp



> On May 25, 2021, at 9:08 PM, J. Landman Gay via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
>> Regardless, I have decided to use a standard LC slider set to
>> -1,0,+1 with some labels grouped to it. It works like a charm
>> and minimizes the number of graphics/objects and code.
> 
> I was interested to see that; it's clever, and it does work if you click in 
> the slider bar. But dragging the indicator allows partial decimal positions. 
> I don't know if that matters for your purposes.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> 
> 
> 
> _______________________________________________
> 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

Reply via email to