Page 1 of 1
custom slider for OSX and Ios
Posted: Sat Aug 05, 2017 9:01 am
by jmburnod
Hi All,
Here is a new version of "stCustomSliderIosOsx001" (not tested on Windows and android)
This custom slider works fine except this case:
(I don’t know if that is LiveCode or my brain who doesn't work as expected).
1. Click on the slider bar
The slider comes correctly
2. Do a mousedown immediatly and try to move the slider (doesn't work during 1500 milliseconds).
Suggestions are welcome
Best regards
Jean-Marc
Re: custom slider for OSX and Ios
Posted: Sat Aug 05, 2017 3:55 pm
by Thierry
Bonjour Jean-Marc,
Just had a quick look and found out
that if you add this handler into your Slider graphic script,
you get the right behavior:
Code: Select all
on mousedoubledown
-- put "you're too fast my friend :)"
end mousedoubledown
Bon dimanche,
Thierry
Re: custom slider for OSX and Ios
Posted: Sat Aug 05, 2017 4:58 pm
by jmburnod
Bonsoir Thierry,
Thanks for hint but it works sometimes and sometimes not
Bon dimanche à toi aussi.
Jean-Marc
Re: custom slider for OSX and Ios
Posted: Mon Aug 07, 2017 2:09 pm
by [-hh]
Hi Jean-Marc.
Extending Thierry's advice the following works here.
Add the two handlers to the script of your grc "mySlider":
Code: Select all
on mouseDoubleDown
deSliderMD
end mouseDoubleDown
on mouseDoubleUp
deSliderMU
end mouseDoubleUp
Hermann
p.s. Nice slider.
[ There is also a demo of Bernd to circular/linear sliders, see the source of the HTML standalone
http://berndniggemann.on-rev.com/progress/progress.html ].
Re: custom slider for OSX and Ios
Posted: Mon Aug 07, 2017 7:27 pm
by jmburnod
Hi Hermann,
I add mousedoubledown/up but its create trouble during the move of grc "MySlider". Sometimes it stop move.
Same result with LC 8.1.3 and 8.1.5
Jean-Marc
Thanks for Bernd's ressource which is already in my Bernd Folder
Jean-Marc
Re: custom slider for OSX and Ios
Posted: Mon Aug 07, 2017 8:36 pm
by bogs
jmburnod wrote:Thanks for Bernd's ressource which is already in my Bernd Folder

Kinda says "You've arrived !" when people without your name have a folder with your name on it
