2013-11-15, 21:43
Hi guys
I have got a problem with opening the window in the main menu. When I select on the TV Guide in the main menu and when i press on the enter button, the window supposed to be open but nothing have happens.
here's the code from Includes_MainMenu.xml:
And here's the code from MyTvGuide.xml:
do you have any idea how i can open the window after when I select on the Tv Guide in the main menu?
Thanks in advance
I have got a problem with opening the window in the main menu. When I select on the TV Guide in the main menu and when i press on the enter button, the window supposed to be open but nothing have happens.
here's the code from Includes_MainMenu.xml:
PHP Code:
<include name="TvGuideMainMenu">
<item id="25">
<label fallback="31017">$INFO[Skin.String(TvGuideHomeItem.Label)]</label>
<onclick>SetProperty($INFO[Window(home).Property(MenuName)],TvGuideHomeItem,home)</onclick>
<onclick>SetFocus(9006)</onclick>
<property name="Widget">$INFO[Skin.String(TvGuideHomeItem.Widget)]</property>
<property name="Widget2">$INFO[Skin.String(TvGuideHomeItem.Widget2)]</property>
<property name="WidgetTitle">$INFO[Skin.String(TvGuideHomeItem.WidgetTitle)]</property>
<property name="Widget2Title">$INFO[Skin.String(TvGuideHomeItem.Widget2Title)]</property>
<property name="DisableIcon">$INFO[Skin.String(TvGuideHomeItem.Disable)]</property>
<property name="BigIcon" fallback="special://skin/extras/BigIcons/Monitor.png">$INFO[Skin.String(TvGuideHomeItem.Icon)]</property>
<icon fallback="special://skin/backgrounds/TvGuide/">$INFO[Skin.String(TvGuideHomeItem.MultiFanart)]</icon>
<property name="InfoLine">$INFO[Skin.String(TvGuideHomeItem.InfoLine)]</property>
<property name="SubMenu">$INFO[Skin.String(TvGuideHomeItem.SubMenu)]</property>
<property name="Type" fallback="custom">$INFO[Skin.String(TvGuideHomeItem.Type)]</property>
<property name="Path" fallback="ActivateWindow(tvguide)">$INFO[Skin.String(TvGuideHomeItem.Path)]</property>
</item>
</include>
And here's the code from MyTvGuide.xml:
PHP Code:
<?xml version="1.0" encoding="utf-8"?>
<window>
<defaultcontrol always="true">9000</defaultcontrol>
<backgroundcolor>backgroundcolor</backgroundcolor>
<allowoverlay>no</allowoverlay>
<include condition="!Skin.HasSetting(firstrun4.0)">AutoConfig</include>
<control type="button" id="1">
<description>My first button control</description>
<posx>80</posx>
<posy>60</posy>
<width>250</width>
<height>200</height>
<visible>true</visible>
<colordiffuse>FFFFFFFF</colordiffuse>
<texturefocus>myfocustexture.png</texturefocus>
<texturenofocus>mynormaltexture.png</texturenofocus>
<label>29</label>
<font>font12</font>
<textcolor>FFFFFFFF</textcolor>
<focusedcolor>FFFFFFFF</focusedcolor>
<disabledcolor>80FFFFFF</disabledcolor>
<align></align>
<aligny></aligny>
<textoffsetx></textoffsetx>
<textoffsety></textoffsety>
<pulseonselect></pulseonselect>
<onclick>XBMC.ActivateWindow(MyTvGuide)</onclick>
<onfocus>-</onfocus>
<onunfocus>-</onunfocus>
<onup>2</onup>
<ondown>3</ondown>
<onleft>1</onleft>
<onright>1</onright>
</control>
</window>
do you have any idea how i can open the window after when I select on the Tv Guide in the main menu?
Thanks in advance