custom slider for OSX and Ios
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
custom slider for OSX and Ios
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
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
- Attachments
-
- stCustomSliderIosOsx001.zip
- (2.91 KiB) Downloaded 252 times
https://alternatic.ch
Re: custom slider for OSX and Ios
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:
Bon dimanche,
Thierry
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
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: custom slider for OSX and Ios
Bonsoir Thierry,
Thanks for hint but it works sometimes and sometimes not
Bon dimanche à toi aussi.
Jean-Marc
Thanks for hint but it works sometimes and sometimes not
Bon dimanche à toi aussi.
Jean-Marc
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: custom slider for OSX and Ios
Hi Jean-Marc.
Extending Thierry's advice the following works here.
Add the two handlers to the script of your grc "mySlider":
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 ].
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
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 ].
shiftLock happens
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: custom slider for OSX and Ios
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
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
Last edited by jmburnod on Tue Aug 08, 2017 10:03 pm, edited 1 time in total.
https://alternatic.ch
Re: custom slider for OSX and Ios
Kinda says "You've arrived !" when people without your name have a folder with your name on itjmburnod wrote:Thanks for Bernd's ressource which is already in my Bernd Folder