[ANN] homemade slider

Peter Haworth pete at lcsql.com
Sun Dec 7 21:26:07 EST 2014


Thanks Bernd.  After looking through your code a bit more, I think the
logic is already there in the calculateThumbPosition handler of the sbThumb
graphic of the slider.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Sun, Dec 7, 2014 at 5:31 PM, BNig <bernd.niggemann at uni-wh.de> wrote:

> Thanks Pete,
>
> I like that idea, will probably include an option to choose between "go to
> end" or "go to click"
> I was a little transfixed by the idea of a switch.
> Kind regards
> Bernd
>
> Peter Haworth wrote
> > Very nice Bernd, thanks.
> >
> > One suggestion.  Right now, if you click anywhere on the slider outside
> > the
> > thumb, the thumb moves to the beginning or end.  Would be good if the
> > thumb
> > movement was a factor of where you click on the slider and min/max
> values.
> >
> > For example, if you clicked 2/3rds of the way along the slider, the thumb
> > would move to where you click and the value (if visible) would be 2/3ds
> of
> > the way between the min/max values.
> >
> > Pete
> >
> > On Sun, Dec 7, 2014 at 3:58 PM, BNig <
>
> > bernd.niggemann@
>
> > > wrote:
> >
> >> Dear List,
> >>
> >> sometimes one needs a custom slider for either mobile or desktop.
> >>
> >> I made one that can be "skinned" in many ways. It is horizontal only.
> >> Can also be used as progress bar.
> >>
> >> -------------------------------
> >>
> http://berndniggemann.on-rev.com/customslider/customSlider_0_6.livecode.zip
> >> -------------------------------
> >>
> >> Feedback welcome
> >>
> >> Kind regards
> >> Bernd
>
>
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/ANN-homemade-slider-tp4686566p4686578.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list