Kodi Community Forum
how to come out of a slider control? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: how to come out of a slider control? (/showthread.php?tid=127841)



how to come out of a slider control? - slinuxgeek - 2012-04-05

I have some music play controls on a window lying horizontally , these contain
previous button, play/pause button, stop button , next button , volume slider and seek slider.

To control them through keys I have written :
<onleft> id_of_previous_control</onleft>
<onright> id_of_next_control</onright>
but when I reach to the volume slider , pressing right & left arrow key increases and decreases volume , it is doing good thing but now I am stuck with in volume slider I can not move to other control , also I can't write :
<onup> and <ondown> in slider control to switch to another control because all neighbor controls are placed horizontally not vertically so it will not make sense.
Screenshot here:
http://i.imgur.com/KxyzF.png

Please Help, Thanks.




RE: how to come out of a slider control? - Jezz_X - 2012-04-05

go up and down is the only way


RE: how to come out of a slider control? - pecinko - 2012-04-05

You may try using a button that would pop-up vertical slider. EDIT: I suppose one can choose between vertical and horizontal one. Not sure, though.


RE: how to come out of a slider control? - Balinus - 2012-04-05

Quote:also I can't write :
<onup> and <ondown> in slider control to switch to another control because all neighbor controls are placed horizontally not vertically so it will not make sense.

At the beginning it doesn't make sense, but once the user begin to use XBMC, they quickly know that if left/right doesn't work,, up and down will. I agree that it doesn't "flow" well visually, but it works and users doesn't mind. imho!




RE: how to come out of a slider control? - slinuxgeek - 2012-04-06

OK Friends Thanks for help !!