Posts: 808
Joined: Dec 2014
Reputation:
51
badaas
Skilled Skinner
Posts: 808
Is this possible?
grouplist id="1234" with some buttons, I want to get container(1234).listitem.label of currently focused item in that group.
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
grouplists don't have listitems, so that's not going to work.
perhaps if you give each button an id, you could use Control.GetLabel(id)
Posts: 808
Joined: Dec 2014
Reputation:
51
badaas
Skilled Skinner
Posts: 808
Hmm, each button is seperate id that corresponds inbuilt click etc.
container(1234).label ? I know doesnt work but maybe an option, obviously grouplist can be mixed content, but ofc would return empty if an image etc.
atm i can make each button onfocus set a string, but a bit of a hack ..
Posts: 808
Joined: Dec 2014
Reputation:
51
badaas
Skilled Skinner
Posts: 808
or even set the label id's in the label tag <label id="123">text</label>, then control.getlabel(id)