Slider Questions
Dennis Brown
see3d at writeme.com
Sun Apr 24 19:31:56 EDT 2005
On Apr 24, 2005, at 5:25 PM, Varen Swaab wrote:
> 2. Is there a way to “snap” the slider handle into specific positions
> so the
> slider handle is in the absolute position of the closest whole value
> it was
> near when the user releases the mouse click ....there must be an
> easier way
> to say that :)
>
Varen,
I did this with a simple mouseup handler in the slider script:
on mouseup
set thumbposition of me to round(thumbposition of me)
end mouseup
More information about the use-livecode
mailing list