2008-06-18, 03:10
I'm adding an eject/load button to my shutdown submenu on PM3(DialogButtonMenu.xml) and I was wondering if there was a command that would let the submenu stay open after I clicked the eject button instead of returning to the home screen.
This is the control I'm currently using and it works perfectly aside from this issue.
This is the control I'm currently using and it works perfectly aside from this issue.
Code:
<control type="button" id="3110">
<description>Eject button</description>
<visible>System.LoggedOn</visible>
<posx>240</posx>
<posy>5</posy>
<width>60</width>
<height>65</height>
<texturefocus>sub-eject-focus.gif</texturefocus>
<texturenofocus>sub-eject-nofocus.png</texturenofocus>
<onclick>XBMC.EjectTray()</onclick>
<pulseonselect>no</pulseonselect>
<onleft>3112</onleft>
<onright>3114</onright>
<onup>3110</onup>
<ondown>3110</ondown>
<font>-</font>
<label>13391</label>
</control>