2015-11-09, 13:34
Hi I used the new label2 On/Off text for a dummy button and tried to get this label2 Inside a static list content but seems it doesn't work :
Button is set like this in DialoAddonInfo.xml (built-in control) :
And item in list :
But seems that the .index(1) is empty.
Thx
Button is set like this in DialoAddonInfo.xml (built-in control) :
PHP Code:
<!-- Auto Update -->
<control type="radiobutton" id="13">
<visible>false</visible>
<radiowidth />
<radioheight />
</control>
And item in list :
PHP Code:
<!-- Auto Update -->
<item>
<label>$LOCALIZE[21340] : $INFO[Control.GetLabel(13).index(1)]</label>
<icon>material/update.png</icon>
<onclick>SendClick(10146,13)</onclick>
<visible>Control.IsEnabled(13)</visible>
</item>
But seems that the .index(1) is empty.
Thx