2021-10-21, 15:48
Hi,
I have several button controls inside a grouplist control.
Each time I open the dialog, the default focused control is the same control (which I don't want it to be).
I want to change it, so the default focused control will be another one.
How can I do that?
I tried to use the defaultcontrol but it didn't help here:
It relates to the DialogAddonInfo.xml
* When addon is installed: Default focus id is "9" (configuration)
* When addon is not installed: Default focus id is "6" (install)
Maybe this default focused control is set by Kodi?
Thanks
I have several button controls inside a grouplist control.
Each time I open the dialog, the default focused control is the same control (which I don't want it to be).
I want to change it, so the default focused control will be another one.
How can I do that?
I tried to use the defaultcontrol but it didn't help here:
Code:
<defaultcontrol>12</defaultcontrol>
It relates to the DialogAddonInfo.xml
Code:
<control type="grouplist" id="9000">
* When addon is not installed: Default focus id is "6" (install)
Maybe this default focused control is set by Kodi?
Thanks