Directional move to control based on container?
#1
Not sure if I'm wording this right, but..... is it possible to have an <onleft> move to different controls based on what container is currently focused?


The control group snip
Code:
<control type="group">
<visible>[Container(9000).Hasfocus(2) + !Skin.HasSetting(HomeMenuNoMoviesButton)] | Container(9000).Hasfocus(10) | [Container(19000).Hasfocus(2) + !Skin.HasSetting(HomeMenuNoMoviesButton)] | Container(19000).Hasfocus(10)</visible>


The list snip
Code:
                <control type="list" id="8000">
    [b]<onleft>9000/19000</onleft>[/b]
[b]Would like this to go to 9000 or 19000 depending on what is focused[/b]
Reply
#2
Wouldn't you use two <onleft> triggers on the controls that have focus? ie: <onleft>900</onleft> for one control and <onleft>19000</onleft> on the other control.

I'm sorry, I'm probably not entirely sure what you're asking.
Reply
#3
Sranshaft Wrote:Wouldn't you use two <onleft> triggers on the controls that have focus? ie: <onleft>900</onleft> for one control and <onleft>19000</onleft> on the other control.

I'm sorry, I'm probably not entirely sure what you're asking.

I think it's because the controls are conditional?
Reply
#4
You group the controls you are going to, and make those conditionally focusable (i.e. visible/not visible)
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
Thanks Jonathan I got it sorted now. Cool
Reply
#6
Cheers for this!
Reply

Logout Mark Read Team Forum Stats Members Help
Directional move to control based on container?0