2013-10-30, 04:51
I am having a bit of trouble mucking about with a skin (just learning the ropes) and was wondering if someone could help me out
I can't seam to get this dialog (720p/custom-12345.xml) to pop up when I press the button.
Button shows the image when focused but nothing happens
I have tried
<onclick>ActivateWindow(12345)</onclick>
<onclick>ActivateWindow(custom-12345)</onclick>
<onclick>XBMC.ActivateWindow(12345)</onclick>
<onclick>XBMC.ActivateWindow(custom-12345)</onclick>
What have I done wrong?
Thanks for helping
I can't seam to get this dialog (720p/custom-12345.xml) to pop up when I press the button.
Code:
window id="12345" type="dialog">
<defaultcontrol>2</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<visible>true</visible>
<coordinates>
<system>1</system>
<posx>-160</posx>
<posy>0</posy>
</coordinates>
<controls>
<control type="label" id="1">
<description>My First label</description>
<posx>180</posx>
<posy>160</posy>
<width>250</width>
<visible>true</visible>
<align>center</align>
<aligny>center</aligny>
<scroll>false</scroll>
<label>My First label</label>
<font>font14</font>
<number>-</number>
<angle>-0</angle>
<haspath>false</haspath>
<textcolor>FFB2D4F5</textcolor>
<shadowcolor>ff000000</shadowcolor>
<wrapmultiline>false</wrapmultiline>
<scrollspeed>50</scrollspeed>
<scrollsuffix>-</scrollsuffix>
</control>
</controls>
</controls>
</window>
Button shows the image when focused but nothing happens
Code:
<control type="button">
<posx>977</posx>
<posy>455</posy>
<width>150</width>
<height>150</height>
<label>-</label>
<font>-</font>
<texturefocus>test6.png</texturefocus>
<texturenofocus>blank.png</texturenofocus>
<onclick>ActivateWindow(custom-12345)</onclick>
<visible>Control.IsVisible(460)</visible>
</control>
<onclick>ActivateWindow(12345)</onclick>
<onclick>ActivateWindow(custom-12345)</onclick>
<onclick>XBMC.ActivateWindow(12345)</onclick>
<onclick>XBMC.ActivateWindow(custom-12345)</onclick>
What have I done wrong?
Thanks for helping