Kodi Community Forum

Full Version: ActivateWindow other return options?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have a quick question. I have a submenu off of my main menu which takes the user directly to the genres section of the movie library.

Code:
<onclick>ActivateWindow(Videos,MovieGenres,return)</onclick>

It works as expected, but there is one thing i'd like to tweak. When the user backs out it they are returned to the main menu and the focus is the last focused item on that menu (in this case movies). Ideally what I'd like is for them to be returned to the last menu (the submenu which contains the genre option) which has id="3210".

Does anybody know of a way to do this? Is there another option other that return which is more specific?

Much thanks.

~Raze
you probably have defined a <defaultcontrol> in Home.xml with the option always="true"
That did the trick. Thanks Ronie!