Scrollbar (slider) question - 2nd try

Mark Swindell mdswindell at charter.net
Mon Jun 20 19:54:35 EDT 2005


I'm not sure if my question was clear, or if maybe I'm missing  
something obvious, but I am trying to figure out how to do something  
that would seem like a normal behavior.  I have a regular slider.   
When I click on the slider, I'd like the thumbPos of the thumb to  
move to that location.

This is what happens with a QT player and also the volume slider in  
OS X.   What I can't figure out is how to translate the mouse click  
so that it immediately updates the thumbPos.  The closest the  
properties manager shows is increments for the scroll distance...  
there is no "jump to click" option.

Thanks
Mark


On Jun 20, 2005, at 1:30 PM, Mark Swindell wrote:

> On a click in a scroll bar how do you derive (what would be) the  
> ThumbPos of the click?  (Set the thumbpos of the target to the  
> clickLoc) is the idea.
>
> Thanks,
> Mark
> _______


More information about the use-livecode mailing list