I have 2 wraplist's in home, when i select a menu item (in my case music) the 1st wraplist loses focus & sets focus on the 2nd wraplist, which it's meant to do.
But is there a way to set focus again to the 1st wraplist by using the Esc key? at the moment im using a menu item which has "<onclick>Control.SetFocus(301)</onclick>" but it's not very remote friendly.
Any ideas ?
Thanks
Switching back to a previous wraplist using the Esc key ?
buges
Fan Posts: 305 Joined: Apr 2007 Reputation: 0 Location: UK |
2012-05-08 06:50
Post: #1
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,569 Joined: Oct 2003 Reputation: 138 |
2012-05-08 07:09
Post: #2
Nope. Assuming the remote sends Back instead of PreviousMenu you could try <onback> - no idea if it'll work or not.
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. ![]() |
| find quote |
buges
Fan Posts: 305 Joined: Apr 2007 Reputation: 0 Location: UK |
2012-05-08 07:46
Post: #3
Thanks Jonathan
Yep <onback> does work. but it's not ideal because most people will just want to hit the esc key on the remote to go back to the last menu. <onesc> or <onescape> would be nice. |
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-05-08 08:30
Post: #4
Make the second wraplist a custom dialog then ESC will work.
![]() |
| find quote |
buges
Fan Posts: 305 Joined: Apr 2007 Reputation: 0 Location: UK |
2012-05-08 08:53
Post: #5
Now working perfectly
Thanks Hitcher
(This post was last modified: 2012-05-08 09:40 by buges.)
|
| find quote |
buges
Fan Posts: 305 Joined: Apr 2007 Reputation: 0 Location: UK |
2012-05-08 17:59
Post: #6
Now i've had time to come back to this, I have just 1 problem with getting the background images to show up on the home window when the dialog window with the 2nd wraplist is displayed.
Home.xml has a multiimage control to display the background image of items from wraplist 1 (301) "<imagepath background="true">$INFO[Container(301).ListItem.Icon]</imagepath>" which works great. Im opening the new dialog window with "<onclick>ActivateWindow(1130)</onclick>". The dialog has wraplist 2 (302) in it & that works fine as well, But using "<imagepath background="true">$INFO[Container(302).ListItem.Icon]</imagepath>" in Home.xml displays no images at all. |
| find quote |


![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
Search
Help