problem with opening the window
#1
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:

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
Reply
#2
I have a problem with the main menu, when I select the "Tv Guide" in the main menu just like this:


Image


When I press on the enter button of the keyboard, it did not close the menu to open the window that I want to read the file from TvGuide.xml as nothing will ever happens when I press on the enter button.


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> 


Does anyone know how i can open the window after when I select on the Tv Guide in the main menu?

Please help!!!!!!!!!!
Reply
#3
Threads merged. You've been warned previously to stop crossposting or risk another ban, which you have now earned.
Reply
#4
hello

I have a problem with the main menu, when I select the "Tv Guide" in the main menu just like this:


Image


When I press on the enter button of the keyboard, it did not open the tv guide window as I want to read the information from TvGuide.xml. When I press on the enter button, nothing will happens. I don't think I have create the button.


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> 


Does anyone know how i can open the tv guide window after when I select on the Tv Guide in the main menu?

Please help!!!!!!!!!!
Reply

Logout Mark Read Team Forum Stats Members Help
problem with opening the window0