2012-02-28, 01:02
Hey guys, previously in Dharma I added a sub-menu button to Neon to add a source that was rather crafty; for Videos, I would open up File View, hit the Up key a few times to roll back over and highlight "Add Source", then send the Select command to pull up the window.
However, in updating my skin to Eden I found that key presses are no longer functioning when I add them into the <onclick> parameter within my menu item, nothing happens. Here's my code that's not functioning:
Furthermore, when looking into calling the Media Source dialog window directly, I can do so but it does not gain focus. Also attempting to set focus to the window through a similar <onclick> command does not work and I don't understand why.
Any input is massively appreciated.
However, in updating my skin to Eden I found that key presses are no longer functioning when I add them into the <onclick> parameter within my menu item, nothing happens. Here's my code that's not functioning:
Quote:<item id="0">
<description>add source test</description>
<label>test</label>
<icon>special://skin/backgrounds/custom.jpg</icon>
<onclick>ActivateWindow(videofiles,root)</onclick>
<onclick>Action(up)</onclick>
<onclick>up</onclick>
<onclick>select</onclick>
<visible>!Skin.HasSetting(HomeMenuNoMoviesButton) + Library.HasContent(Movies)</visible>
</item>
Furthermore, when looking into calling the Media Source dialog window directly, I can do so but it does not gain focus. Also attempting to set focus to the window through a similar <onclick> command does not work and I don't understand why.
Any input is massively appreciated.