Hi guys,
I am have issues using <onback> from within a list control in the button menu dialog. I have a button control with id 999 that clears a home property and then closes the dialog. This works fine for <ondirection> tags but when I try the same thing with an <onback>999</onback> it seems to ignore the tag and do a standard onback action of closing the dialog (but not clearing the home property as it should).
so onleft, onright, onup and ondown tags are working as expected, onback tag seems to be ignored. Running Kodi 18.8 on Windows 10, although pretty certain that is not the issue.
Could someone please offer some insight on what I am doing wrong?
Wyrm
I am have issues using <onback> from within a list control in the button menu dialog. I have a button control with id 999 that clears a home property and then closes the dialog. This works fine for <ondirection> tags but when I try the same thing with an <onback>999</onback> it seems to ignore the tag and do a standard onback action of closing the dialog (but not clearing the home property as it should).
<control type="button" id="999"><!-- Dummy hidden button to close dialog -->
<left>-15</left>
<top>-15</top>
<width>1</width>
<height>1</height>
<onfocus>ClearProperty(ShutdownKodi,home)</onfocus>
<onfocus>Dialog.Close(shutdownmenu)</onfocus>
</control>
<control type="list" id="9000">
<left>675</left>
<top>306</top>
<width>540</width>
<height>675</height>
<onleft>999</onleft>
<onright>999</onright>
<onup>999</onup>
<ondown>999</ondown>
<onback>999</onback>
...
so onleft, onright, onup and ondown tags are working as expected, onback tag seems to be ignored. Running Kodi 18.8 on Windows 10, although pretty certain that is not the issue.
Could someone please offer some insight on what I am doing wrong?
Wyrm