Solved Custom Activate Window Button doesn't work in Dialoginfo.xml
#1
Is this a bug? I'm using Helix 14.2
I created a button with Activate window onclick in Dialoginfo.xml

Code:
            <control type="button">
                <posx>1130</posx>
                <posy>24</posy>
                <width>40</width>
                <height>40</height>
                <label>-</label>
                <font>-</font>
                <texturefocus>back-focus.png</texturefocus>
                <texturenofocus>back-nofocus.png</texturenofocus>
                <onclick>ActivateWindow(home)</onclick>
            </control>
But when clicked it remains on that window.. Interestingly, after pressing right click it went to Home,
So the button works, but there's something that prevent Dialoginfo.xml from closing.. any idea?

Here's Dialoginfo.xml

Code:
<window id="2003">
    <defaultcontrol always="true">149</defaultcontrol>
    <onload>ClearProperty(script.metadata.actors.isactive)</onload>
    <onload condition="Skin.HasSetting(ontvtunes) + System.HasAddon(script.tvtunes)">RunScript(script.tvtunes,backend=True)</onload>
    <controls>
        <control type="group">
            <!-- default group -->
            <include>Animation_Window</include>
            <animation effect="fade" start="100" end="0" time="300" condition="StringCompare(Window.Property(script.metadata.actors.isactive),1)">Conditional</animation>
            <control type="multiimage">
                <!-- Multi Fanart -->
                <include>WindowBG</include>
                <imagepath background="true">$VAR[value_videofanart]</imagepath>
            </control>
            <control type="image">
                <!-- Single Fanart -->
                <include>WindowBG</include>
                <texture background="true">$VAR[value_defaultvideofanart]</texture>
            </control>
            <control type="multiimage" id="5020">
                <!-- Extra Fanart Movies/TvShows/MusicVideos -->
                <include>InvisibleButton</include>
                <imagepath background="true">$INFO[ListItem.Path]extrafanart/</imagepath>
                <visible>Container.Content(movies) + !Skin.HasSetting(trailers) + SubString(skin.string(moviesfanart),extra) | Container.Content(tvshows) + SubString(skin.string(tvshowsfanart),extra) | Container.Content(musicvideos) + SubString(skin.string(musicvideosfanart),extra)</visible>
            </control>
            <control type="multiimage" id="5021">
                <!-- Extra Fanart Seasons -->
                <include>InvisibleButton</include>
                <imagepath background="true">$INFO[ListItem.Path,,extrafanart/]</imagepath>
                <visible>Container.Content(seasons) + SubString(skin.string(seasonsfanart),extra)</visible>
            </control>
            <control type="multiimage" id="5022">
                <!-- Extra Fanart Episodes -->
                <include>InvisibleButton</include>
                <imagepath background="true">$INFO[ListItem.Path,,../extrafanart/]</imagepath>
                <visible>Container.Content(episodes) + SubString(skin.string(episodesfanart),extra)</visible>
            </control>
            <control type="image" id="5023">
                <!-- Season Fanart -->
                <include>InvisibleButton</include>
                <texture background="true">$INFO[ListItem.Path]$INFO[ListItem.Label,,/fanart.jpg]</texture>
                <visible>Container.Content(seasons) + SubString(skin.string(seasonsfanart),seasons)</visible>
            </control>
            <control type="image" id="5024">
                <!-- Season Fanart/episodes -->
                <include>InvisibleButton</include>
                <texture background="true">$INFO[ListItem.Path,,fanart.jpg]</texture>
                <visible>Container.Content(episodes) + SubString(skin.string(episodesfanart),seasons)</visible>
            </control>
            <include>LiveBG</include>
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>1280</width>
                <height>720</height>
                <texture>black.png</texture>
                <colordiffuse>A5FFFFFF</colordiffuse>
                <include>Animation_Fade</include>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <height>150</height>
                <width>1280</width>
                <texture flipy="true">shadow_mask.png</texture>
                <colordiffuse>75000000</colordiffuse>
            </control>
            <control type="label">
                <!-- Title -->
                <posx>30</posx>
                <posy>8</posy>
                <width>1100</width>
                <height>40</height>
                <font>Font_40</font>
                <label>$VAR[value_videotitle]</label>
                <textcolor>FFFFFAF0</textcolor>
                <scroll>true</scroll>
                <scrollout>false</scrollout>
            </control>
            <control type="label">
                <posx>30</posx>
                <posy>50</posy>
                <width>1100</width>
                <height>25</height>
                <font>Font_19</font>
                <label>$INFO[ListItem.Tagline]</label>
                <textcolor>FFFFFAF0</textcolor>
                <scroll>true</scroll>
                <scrollout>false</scrollout>
            </control>
            <control type="image">
                <!-- Star -->
                <posx>1179</posx>
                <posy>5</posy>
                <width>73</width>
                <height>73</height>
                <align>center</align>
                <aligny>center</aligny>
                <texture>star.png</texture>
                <colordiffuse>FFFFFAF0</colordiffuse>
            </control>
            <control type="label">
                <posx>1185</posx>
                <posy>15</posy>
                <width>60</width>
                <height>60</height>
                <align>center</align>
                <aligny>center</aligny>
                <font>Font_19</font>
                <label>[B]$INFO[ListItem.Rating][/B]</label>
                <textcolor>FF101010</textcolor>
            </control>
            <control type="button">
                <posx>1130</posx>
                <posy>24</posy>
                <width>40</width>
                <height>40</height>
                <label>-</label>
                <font>-</font>
                <texturefocus>back-focus.png</texturefocus>
                <texturenofocus>back-nofocus.png</texturenofocus>
                <onclick>ActivateWindow(home)</onclick>
            </control>
            <control type="label">
                <posx>1070</posx>
                <posy>30</posy>                
                <width>305</width>
                <height>30</height>
                <font>font-20T</font>
                <textcolor>white</textcolor>
                <selectedcolor>blue</selectedcolor>
                <align>left</align>
                <aligny>center</aligny>
                <label>Home</label>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>80</posy>
                <width>1280</width>
                <height>386</height>
                <texture>darkgrey.png</texture>
                <colordiffuse>$VAR[value_texturecolor]</colordiffuse>
                <include>Animation_DefaultGlass</include>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>1280</width>
                <height>80</height>
                <texture>gradient_small.png</texture>
                <colordiffuse>80FFFAF0</colordiffuse>
            </control>
            <control type="image">
                <!-- Certification -->
                <posx>30</posx>
                <posy>69</posy>
                <height>80</height>
                <width>158</width>
                <align>center</align>
                <aligny>center</aligny>
                <aspectratio>keep</aspectratio>
                <texture>$VAR[value_mpaa]</texture>
            </control>
            <control type="label">
                <!-- Year -->
                <posx>220</posx>
                <posy>80</posy>
                <height>40</height>
                <width>110</width>
                <align>left</align>
                <aligny>center</aligny>
                <font>Font_23</font>
                <label>$INFO[ListItem.Year]</label>
                <textcolor>FFFFFAF0</textcolor>
            </control>
            <control type="label">
                <!-- Genre -->
                <posx>220</posx>
                <posy>105</posy>
                <height>40</height>
                <width>490</width>
                <align>left</align>
                <aligny>center</aligny>
                <font>Font_18</font>
                <label>$INFO[ListItem.Genre]</label>
                <textcolor>FFFFFAF0</textcolor>
                <scroll>true</scroll>
                <scrollout>false</scrollout>
            </control>
    <control type="list" id="49"><!-- Lista de botoes/info -->
        <posx>20</posx>
        <posy>145</posy>
        <width>740</width>
        <height>330</height>
        <onleft>149</onleft>
        <onright>149</onright>
        <onup>149</onup>
        <ondown>149</ondown>
        <itemgap>0</itemgap>
        <pagecontrol>-</pagecontrol>
        <scrolltime>200</scrolltime>
    <itemlayout height="20">
        <control type="label">
            <left>110</left>
            <posx>170</posx>
            <posy>0</posy>
            <width>200</width>
            <height>20</height>
            <align>center</align>
            <aligny>center</aligny>
            <font>Font_18A</font>
            <textcolor>$VAR[value_headercolor]</textcolor>
            <selectedcolor>$VAR[value_headercolor]</selectedcolor>
            <label>$INFO[ListItem.Label]</label>
            <scroll>true</scroll>
        </control>
        <control type="label">
            <posx>200</posx>
            <posy>0</posy>
            <width>490</width>
            <height>20</height>
            <align>left</align>
            <aligny>center</aligny>
            <font>Font_18A</font>
            <textcolor>FFFFFAF0</textcolor>
            <selectedcolor>E4101010</selectedcolor>
            <label>$INFO[ListItem.Label2]</label>
            <scroll>true</scroll>
        </control>
    </itemlayout>
    <focusedlayout height="20">
        <control type="image">
            <left>0</left>
            <posx>190</posx>
            <posy>0</posy>
            <width>510</width>
            <height>20</height>
            <texture>settings_button_focus.png</texture>
            <visible>Control.HasFocus(49)</visible>
        </control>
    <control type="label">
        <left>110</left>
        <posx>170</posx>
        <posy>0</posy>
        <width>200</width>
        <height>20</height>
        <align>center</align>
        <aligny>center</aligny>
        <font>Font_18A</font>
        <textcolor>$VAR[value_headercolor]</textcolor>
        <selectedcolor>$VAR[value_headercolor]</selectedcolor>
        <label>$INFO[ListItem.Label]</label>
    </control>
    <control type="label">
        <posx>200</posx>
        <posy>0</posy>
        <width>490</width>
        <height>20</height>
        <align>left</align>
        <aligny>center</aligny>
        <font>Font_18A</font>
        <textcolor>FFFFFAF0</textcolor>
        <selectedcolor>$VAR[value_headercolorfocus]</selectedcolor>
        <label>$INFO[ListItem.Label2]</label>
        <visible>!Control.HasFocus(49)</visible>
    </control>
    <control type="label">
        <posx>200</posx>
        <posy>0</posy>
        <width>490</width>
        <height>20</height>
        <align>left</align>
        <aligny>center</aligny>
        <font>Font_18A</font>
        <textcolor>E4101010</textcolor>
        <selectedcolor>$VAR[value_headercolorfocus]</selectedcolor>
        <label>$INFO[ListItem.Label2]</label>
        <visible>Control.HasFocus(49)</visible>
    </control>
    </focusedlayout>
    <content>
    <!--  edited in IncludeVariables for MV -->
    <item>
        <label>$VAR[value_videoinfo_label1]</label><!-- Original Title/Movies - Premiered/TvShows -->
        <label2>$VAR[value_videoinfo_value1]</label2>
    <onclick>noop</onclick>
    </item>
    <item>
        <label>$LOCALIZE[574]</label><!-- Country -->
        <label2>$INFO[ListItem.Country]</label2>
    <onclick>noop</onclick>
    </item>
    <item>
        <label>$LOCALIZE[20339]/$LOCALIZE[20417]</label><!-- Director/Written -->
        <label2>$INFO[ListItem.Director]/$INFO[ListItem.Writer]</label2>
        <onclick>SendClick(2003,13)</onclick>
        <visible>!Container.Content(musicvideos)</visible>
    </item>
    <item>
        <label>$LOCALIZE[20339]</label><!-- Director for MV -->
        <label2>$INFO[ListItem.Director]</label2>
        <onclick>SendClick(2003,13)</onclick>
        <visible>Container.Content(musicvideos)</visible>
    </item>
    <item>
        <label>$LOCALIZE[572]</label><!-- Studios -->
        <label2>$INFO[ListItem.Studio]</label2>
        <onclick>noop</onclick>
    </item>
    <item>
        <label>$LOCALIZE[180]</label><!-- Duration -->
        <label2>$VAR[value_videoinfo_value5]</label2>
        <onclick>noop</onclick>
    </item>
    <item>
        <label>31179</label><!-- Audio Language -->
        <label2>$INFO[Window.Property(AudioLanguage.1)]$INFO[Window.Property(AudioLanguage.2), / ]$INFO[Window.Property(AudioLanguage.3), / ]$INFO[Window.Property(AudioLanguage.4), / ]$INFO[Window.Property(AudioLanguage.5), / ]$INFO[Window.Property(AudioLanguage.6), / ]$INFO[Window.Property(AudioLanguage.7), / ]$INFO[Window.Property(AudioLanguage.8), / ]$INFO[Window.Property(AudioLanguage.9), / ]$INFO[Window.Property(AudioLanguage.10), / ]</label2>
        <onclick>noop</onclick>
    </item>
    <item>
        <label>$LOCALIZE[287]</label><!-- Subtitile Language -->
        <label2>$INFO[Window.Property(SubtitleLanguage.1)]$INFO[Window.Property(SubtitleLanguage.2), / ]$INFO[Window.Property(SubtitleLanguage.3), / ]$INFO[Window.Property(SubtitleLanguage.4), / ]$INFO[Window.Property(SubtitleLanguage.5), / ]$INFO[Window.Property(SubtitleLanguage.6), / ]$INFO[Window.Property(SubtitleLanguage.7), / ]$INFO[Window.Property(SubtitleLanguage.8), / ]$INFO[Window.Property(SubtitleLanguage.9), / ]$INFO[Window.Property(SubtitleLanguage.10), / ]</label2>
        <onclick>noop</onclick>
        <visible>!IsEmpty(ListItem.Duration)</visible>
    </item>
    <item>
        <label>$LOCALIZE[573]</label><!-- Path -->
        <label2>$INFO[ListItem.FilenameAndPath]</label2>
        <onclick>noop</onclick>
        <visible>!IsEmpty(ListItem.FilenameAndPath)</visible>
    </item>
    </content>
    </control>
            <control type="image">
                <posx>205</posx>
                <posy>80</posy>
                <height>230</height>
                <width>2</width>
                <texture>separator_v.png</texture>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>136</posy>
                <height>2</height>
                <width>720</width>
                <texture>separator.png</texture>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>310</posy>
                <height>2</height>
                <width>987</width>
                <texture>separator.png</texture>
                <visible>!Container.Content(episodes)</visible>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>310</posy>
                <height>2</height>
                <width>719</width>
                <texture>separator.png</texture>
                <visible>Container.Content(episodes)</visible>
            </control>
            <control type="textbox">
                <!-- Plot -->
                <posx>30</posx>
                <posy>320</posy>
                <width>935</width>
                <height>175</height>
                <align>justify</align>
                <font>Font_16</font>
                <label>$INFO[ListItem.Plot]</label>
                <textcolor>FFFFFAF0</textcolor>
                <autoscroll delay="15000" time="5000" repeat="15000">!Skin.HasSetting(noinfoplotscroll)</autoscroll>
                <visible>!Container.Content(episodes)</visible>
            </control>
            <control type="textbox">
                <!-- Plot -->
                <posx>30</posx>
                <posy>320</posy>
                <width>660</width>
                <height>175</height>
                <align>justify</align>
                <font>Font_16</font>
                <label>$INFO[ListItem.Plot]</label>
                <textcolor>FFFFFAF0</textcolor>
                <autoscroll delay="15000" time="5000" repeat="15000">!Skin.HasSetting(noinfoplotscroll)</autoscroll>
                <visible>Container.Content(episodes)</visible>
            </control>
            <control type="image">
                <posx>720</posx>
                <posy>80</posy>
                <width>2</width>
                <height>230</height>
                <texture>separator_v.png</texture>
                <visible>!Container.Content(episodes)</visible>
            </control>
            <control type="image">
                <!-- Logo -->
                <posx>755</posx>
                <posy>70</posy>
                <height>145</height>
                <width>190</width>
                <aspectratio>keep</aspectratio>
                <texture background="true">$INFO[ListItem.Art(clearlogo)]</texture>
                <visible>!Container.Content(episodes)</visible>
            </control>
            <control type="image">
                <!-- ClearArt -->
                <posx>755</posx>
                <posy>174</posy>
                <height>165</height>
                <width>190</width>
                <aspectratio align="bottom">keep</aspectratio>
                <texture background="true">$INFO[ListItem.Art(clearart)]</texture>
                <visible>!Container.Content(episodes)</visible>
            </control>
            <control type="image">
                <!-- Thumb -->
                <posx>987</posx>
                <posy>82</posy>
                <width>523</width>
                <height>382</height>
                <aspectratio align="left">keep</aspectratio>
                <texture background="true">$VAR[value_poster]</texture>
                <bordertexture border="-2">black.png</bordertexture>
                <animation effect="slide" end="-266,0" time="0" condition="Container.Content(episodes)">Conditional</animation>
            </control>
            <control type="image">
                <posx>986</posx>
                <posy>80</posy>
                <width>2</width>
                <height>384</height>
                <texture>separator_v.png</texture>
                <animation effect="slide" end="-266,0" time="0" condition="Container.Content(episodes)">Conditional</animation>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>80</posy>
                <height>2</height>
                <width>1280</width>
                <texture>separator.png</texture>
            </control>
            <control type="image">
                <!-- Fundo do rodape -->
                <posx>0</posx>
                <posy>650</posy>
                <width>1280</width>
                <height>70</height>
                <colordiffuse>$VAR[value_flagsbar]</colordiffuse>
                <texture>shadow_mask.png</texture>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>494</posy>
                <height>186</height>
                <width>1280</width>
                <texture>darkgrey.png</texture>
                <colordiffuse>$VAR[value_texturecolor]</colordiffuse>
                <include>Animation_DefaultGlass</include>
            </control>
            <control type="grouplist">
                <!-- Etiquetas -->
                <posx>34</posx>
                <posy>682</posy>
                <orientation>horizontal</orientation>
                <itemgap>35</itemgap>
                <animation effect="slide" start="0,300" end="0,0" time="500" tween="sine" easing="out">WindowOpen</animation>
                <animation effect="slide" start="0,300" end="0,0" time="500" tween="sine" easing="out">Visible</animation>
                <animation effect="slide" start="0,0" end="0,300" time="500" tween="sine" easing="in">Hidden</animation>
                <visible>Control.HasFocus(149)</visible>
                <control type="image">
                    <!-- Codec -->
                    <include>FlagImage</include>
                    <texture>$VAR[value_videocodec]</texture>
                    <visible>!IsEmpty(ListItem.VideoCodec)</visible>
                </control>
                <control type="image">
                    <include>FlagSeparator</include>
                    <visible>!IsEmpty(ListItem.VideoCodec)</visible>
                </control>
                <control type="image">
                    <!-- Resolution -->
                    <include>FlagImage</include>
                    <texture>$INFO[ListItem.VideoResolution,flags/resolution/,.png]</texture>
                    <visible>!IsEmpty(ListItem.VideoResolution)</visible>
                </control>
                <control type="image">
                    <include>FlagSeparator</include>
                    <visible>!IsEmpty(ListItem.VideoResolution)</visible>
                </control>
                <control type="image">
                    <!-- Aspect -->
                    <include>FlagImage</include>
                    <texture>$INFO[ListItem.VideoAspect,flags/aspectratio/,.png]</texture>
                    <visible>!IsEmpty(ListItem.VideoAspect)</visible>
                </control>
                <control type="image">
                    <include>FlagSeparator</include>
                    <visible>!IsEmpty(ListItem.VideoAspect)</visible>
                </control>
                <control type="label">
                    <!-- Audio Language -->
                    <include>FlagLabel</include>
                    <label>$INFO[ListItem.AudioLanguage]</label>
                    <visible>!IsEmpty(ListItem.AudioLanguage)</visible>
                </control>
                <control type="image">
                    <include>FlagSeparator</include>
                    <visible>!IsEmpty(ListItem.AudioLanguage)</visible>
                </control>
                <control type="image">
                    <!-- Audio Codec -->
                    <include>FlagImage</include>
                    <texture>$INFO[ListItem.AudioCodec,flags/audio/,.png]</texture>
                    <visible>!IsEmpty(ListItem.AudioCodec)</visible>
                </control>
                <control type="image">
                    <include>FlagSeparator</include>
                    <visible>!IsEmpty(ListItem.AudioCodec)</visible>
                </control>
                <control type="image">
                    <!-- Channels -->
                    <include>FlagImage</include>
                    <texture>$INFO[ListItem.AudioChannels,flags/audio/,ch.png]</texture>
                    <visible>!IsEmpty(ListItem.AudioChannels)</visible>
                </control>
                <control type="image">
                    <include>FlagSeparator</include>
                    <visible>!IsEmpty(ListItem.AudioChannels)</visible>
                </control>
                <control type="image">
                    <!-- Trailer -->
                    <include>FlagImage</include>
                    <texture>logo_trailer.png</texture>
                    <visible>!IsEmpty(ListItem.Trailer)</visible>
                </control>
                <control type="image">
                    <include>FlagSeparator</include>
                    <visible>!IsEmpty(ListItem.Trailer) + !StringCompare(ListItem.PercentPlayed,0)</visible>
                </control>
                <control type="label">
                    <!-- % Played -->
                    <include>FlagLabel</include>
                    <label>$INFO[ListItem.PercentPlayed]%</label>
                    <visible>!StringCompare(ListItem.PercentPlayed,0)</visible>
                </control>
            </control>
            <control type="group">
                <!-- Nome do Elenco -->
                <posx>0</posx>
                <posy>685</posy>
                <animation effect="slide" start="0,300" end="0,0" time="500" tween="sine" easing="out">WindowOpen</animation>
                <animation effect="slide" start="0,300" end="0,0" time="500" tween="sine" easing="out">Visible</animation>
                <animation effect="slide" start="0,0" end="0,300" time="500" tween="sine" easing="in">Hidden</animation>
                <visible>Control.HasFocus(50)</visible>
                <control type="label">
                    <posx>30</posx>
                    <posy>0</posy>
                    <width>400</width>
                    <height>27</height>
                    <align>left</align>
                    <aligny>center</aligny>
                    <font>Font_15</font>
                    <label>31703</label>
                    <textcolor>$VAR[value_flagscolor]</textcolor>
                </control>
                <control type="label">
                    <posx>315</posx>
                    <posy>16</posy>
                    <width>650</width>
                    <align>center</align>
                    <aligny>center</aligny>
                    <label>$INFO[Container(50).ListItem.Label]</label>
                    <font>Font_23</font>
                    <textcolor>$VAR[value_flagscolor]</textcolor>
                    <scroll>true</scroll>
                    <scrollout>false</scrollout>
                </control>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>680</posy>
                <height>43</height>
                <width>1280</width>
                <texture>gradient_small.png</texture>
            </control>
            <control type="image">
                <!-- Cast -->
                <posx>0</posx>
                <posy>679</posy>
                <width>1280</width>
                <height>30</height>
                <texture flipy="true">shadow_h.png</texture>
                <colordiffuse>C3FFFFFF</colordiffuse>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>494</posy>
                <height>186</height>
                <width>1280</width>
                <texture>darkgrey.png</texture>
                <colordiffuse>$VAR[value_texturecolor]</colordiffuse>
                <include>Animation_DefaultGlass</include>
            </control>
            <control type="list" id="50">
    <viewtype label="List">List Info</viewtype>
    <posx>30</posx>
    <posy>492</posy>
    <width>1220</width>
    <height>220</height>
    <onup>149</onup>
    <ondown>Skin.Reset(coverzoom)</ondown>
    <ondown>SetFocus(160)</ondown>
    <ondown>Skin.SetBool(artistzoom)</ondown>
    <orientation>horizontal</orientation>
    <scrolltime>400</scrolltime>
    <focusposition>3</focusposition>
    <itemlayout height="170" width="181">
    <control type="image">
    <posx>0</posx>
    <posy>5</posy>
    <width>130</width>
    <height>180</height>
    <aligny>center</aligny>
    <align>center</align>
    <aspectratio>keep</aspectratio>
    <texture fallback="DefaultVideoPoster.png" background="true">$INFO[ListItem.Icon]</texture>
    <bordertexture border="-2">black.png</bordertexture>
    <colordiffuse>FF909090</colordiffuse>
    </control>
    </itemlayout>
    <focusedlayout height="170" width="181">
    <control type="image">
    <posx>0</posx>
    <posy>5</posy>
    <width>130</width>
    <height>180</height>
    <aligny>center</aligny>
    <align>center</align>
    <aspectratio>keep</aspectratio>
    <texture fallback="DefaultVideoPoster.png" background="true">$INFO[ListItem.Icon]</texture>
    <bordertexture border="-2">black.png</bordertexture>
    <colordiffuse>FF909090</colordiffuse>
    <include>Animation_Fade</include>
    <visible>!Control.HasFocus(50)</visible>
    </control>
    <control type="image">
    <posx>0</posx>
    <posy>5</posy>
    <width>130</width>
    <height>180</height>
    <aligny>center</aligny>
    <align>center</align>
    <aspectratio>keep</aspectratio>
    <texture fallback="DefaultVideoPoster.png" background="true">$INFO[ListItem.Icon]</texture>
    <bordertexture border="-2">grey.png</bordertexture>
    <include>Animation_Fade</include>
    <visible>Control.HasFocus(50)</visible>
    </control>
    </focusedlayout>
    </control>
            <control type="group">
                <!-- Menu bar -->
                <posx>0</posx>
                <posy>465</posy>
                <control type="image">
                    <posx>0</posx>
                    <posy>-30</posy>
                    <width>1280</width>
                    <height>30</height>
                    <texture>shadow_h.png</texture>
                    <colordiffuse>C3FFFFFF</colordiffuse>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>29</posy>
                    <width>1280</width>
                    <height>30</height>
                    <texture flipy="true">shadow_h.png</texture>
                    <colordiffuse>C3FFFFFF</colordiffuse>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>1280</width>
                    <height>30</height>
                    <texture>darkgrey.png</texture>
                    <colordiffuse>$VAR[value_texturecolor]</colordiffuse>
                    <include>Animation_DefaultGlass2</include>
                </control>
                <control type="list" id="149">
                    <posx>0</posx>
                    <posy>3</posy>
                    <width>1280</width>
                    <height>25</height>
                    <ondown>50</ondown>
                    <orientation>horizontal</orientation>
                    <pagecontrol>-</pagecontrol>
                    <scrolltime>300</scrolltime>
                    <focusposition>3</focusposition>
                    <itemlayout height="25" width="182.5">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>1</width>
                            <height>25</height>
                            <texture>separator_v.png</texture>
                        </control>
                        <control type="label">
                            <posx>10</posx>
                            <posy>1</posy>
                            <height>25</height>
                            <width>162</width>
                            <align>center</align>
                            <aligny>center</aligny>
                            <font>Font_15</font>
                            <label>[UPPERCASE]$INFO[ListItem.Label][/UPPERCASE]</label>
                            <textcolor>80FFFAF0</textcolor>
                        </control>
                    </itemlayout>
                    <focusedlayout height="25" width="182.5">
                        <control type="image">
                            <posx>0</posx>
                            <posy>-1</posy>
                            <width>182</width>
                            <height>27</height>
                            <texture>settings_button_focus.png</texture>
                            <visible>Control.Hasfocus(149)</visible>
                        </control>
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>1</width>
                            <height>25</height>
                            <texture>separator_v.png</texture>
                        </control>
                        <control type="label">
                            <posx>40</posx>
                            <posy>1</posy>
                            <height>25</height>
                            <width>162</width>
                            <align>center</align>
                            <aligny>center</aligny>
                            <font>Font_15</font>
                            <label>[UPPERCASE]$INFO[ListItem.Label][/UPPERCASE]</label>
                            <textcolor>FF101010</textcolor>
                            <visible>Control.Hasfocus(149)</visible>
                        </control>
                        <control type="label">
                            <posx>131</posx>
                            <posy>1</posy>
                            <height>25</height>
                            <width>162</width>
                            <align>center</align>
                            <aligny>center</aligny>
                            <font>Font_15</font>
                            <label>[UPPERCASE]$INFO[ListItem.Label][/UPPERCASE]</label>
                            <textcolor>80FFFAF0</textcolor>
                            <visible>!Control.Hasfocus(149)</visible>
                        </control>
                    </focusedlayout>
                    <content>
                        <item id="2">
                            <!-- Resume -->
                            <label>13404</label>
                            <onclick>SendClick(2003,9)</onclick>
                        </item>
                        <item id="1">
                            <!-- Refresh -->
                            <label>31695</label>
                            <onclick>SendClick(2003,6)</onclick>
                            <visible>!Skin.HasSetting(kioskininfo)</visible>
                        </item>
                        <item id="3">
                            <!-- Start -->
                            <label>31700</label>
                            <onclick>SendClick(2003,8)</onclick>
                        </item>
                        <item id="4">
                            <!-- Cinema Ex -->
                            <label>31066</label>
                            <onclick>Dialog.Close(MovieInformation)</onclick>
                            <onclick>RunScript(script.cinema.experience,movieid=$INFO[ListItem.DBID])</onclick>
                            <visible>Container.Content(Movies) + !Skin.HasSetting(trailers) + System.HasAddon(script.cinema.experience)</visible>
                        </item>
                        <item id="5">
                            <!-- Trailer Window -->
                            <label>31701</label>
                            <onclick>SendClick(2003,11)</onclick>
                            <visible>!IsEmpty(ListItem.Trailer)</visible>
                        </item>
                        <item id="7">
                            <!-- Get Thumb -->
                            <label>13405</label>
                            <onclick>SendClick(2003,10)</onclick>
                            <visible>!Skin.HasSetting(kioskininfo)</visible>
                        </item>
                        <item id="8">
                            <!-- Get Fanart -->
                            <label>20413</label>
                            <onclick>SendClick(2003,12)</onclick>
                            <visible>![Container.Content(episodes) | Container.Content(seasons) | Skin.HasSetting(kioskininfo)]</visible>
                        </item>
                        <item id="21">
                            <!-- TvTunes Obter tema Seriados -->
                            <label>31439</label>
                            <onclick>RunScript(script.tvtunes,mode=solo&amp;tvname=$INFO[ListItem.TVShowTitle]&amp;tvpath=$INFO[ListItem.FilenameAndPath])</onclick>    
                            <visible>System.HasAddon(script.tvtunes) + Skin.HasSetting(ontvtunes) + [Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)]</visible>
                        </item>
                        <item id="22">
                            <!-- TvTunes Obter tema Filmes -->
                            <label>31439</label>
                            <onclick>RunScript(script.tvtunes,mode=solo&amp;name=$INFO[Listitem.Title]&amp;path=$INFO[ListItem.FilenameAndPath])</onclick>    
                            <visible>System.HasAddon(script.tvtunes) + Skin.HasSetting(ontvtunes) + Container.Content(movies)</visible>
                        </item>
                        <item id="20">
                            <!-- Editor de info -->
                            <label>31671</label>
                            <onclick>RunScript(script.libraryeditor,DBID=$INFO[ListItem.DBID])</onclick>
                            <visible>System.HasAddon(script.libraryeditor)</visible>
                            <!--<visible>System.HasAddon(script.libraryeditor) + [Container.Content(Movies) | Container.Content(episodes)]</visible>-->
                        </item>
                        <item id="9">
                            <!-- Actor Info -->
                            <label>31798</label>
                            <onclick>RunScript(script.metadata.actors,$INFO[Container(50).Listitem.Label])</onclick>
                            <visible>System.HasAddon(script.metadata.actors)</visible>
                        </item>
                        <item id="13">
                            <!-- Director Movies -->
                            <label>31906</label>
                            <onclick>SendClick(2003,13)</onclick>
                            <visible>!IsEmpty(ListItem.Director)</visible>
                        </item>
                        <item id="10">
                            <!-- Director Info -->
                            <label>31883</label>
                            <onclick>RunScript(script.metadata.actors,$INFO[ListItem.Director])</onclick>
                            <visible>System.HasAddon(script.metadata.actors)</visible>
                        </item>
                        <item id="11">
                            <!-- Writer Info -->
                            <label>31884</label>
                            <onclick>RunScript(script.metadata.actors,$INFO[ListItem.Writer])</onclick>
                            <visible>System.HasAddon(script.metadata.actors)</visible>
                        </item>
                        <item id="12">
                            <!-- Cover Zoom -->
                            <label>31944</label>
                            <onclick>Skin.Reset(artistzoom)</onclick>
                            <onclick>Skin.SetBool(coverzoom)</onclick>
                            <onclick>SetFocus(160)</onclick>
                        </item>
                    </content>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>1280</width>
                    <height>30</height>
                    <texture>gradient_small.png</texture>
                </control>
            </control>
            <control type="button" id="160">
                <include>InvisibleButton</include>
                <onup condition="Skin.HasSetting(artistzoom)">SetFocus(50)</onup>
                <onup condition="Skin.HasSetting(coverzoom)">SetFocus(149)</onup>
                <ondown condition="Skin.HasSetting(artistzoom)">SetFocus(50)</ondown>
                <ondown condition="Skin.HasSetting(coverzoom)">SetFocus(149)</ondown>
                <onleft condition="Skin.HasSetting(artistzoom)">SetFocus(50)</onleft>
                <onleft condition="Skin.HasSetting(coverzoom)">SetFocus(149)</onleft>
                <onright condition="Skin.HasSetting(artistzoom)">SetFocus(50)</onright>
                <onright condition="Skin.HasSetting(coverzoom)">SetFocus(149)</onright>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>1280</width>
                <height>720</height>
                <texture>darkgrey.png</texture>
                <animation effect="fade" start="0" end="100" time="200">Visible</animation>
                <animation effect="fade" start="100" end="0" time="400">Hidden</animation>
                <visible>Control.HasFocus(160)</visible>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>1280</width>
                <height>720</height>
                <texture>hive_back.png</texture>
                <animation effect="fade" start="0" end="100" time="200">Visible</animation>
                <animation effect="fade" start="100" end="0" time="400">Hidden</animation>
                <visible>Control.HasFocus(160)</visible>
            </control>
            <control type="group">
                <posx>-1280</posx>
                <posy>15</posy>
                <animation effect="slide" start="0,0" end="1280,0" time="400" tween="cubic" easing="inout" condition="Control.HasFocus(160)">Conditional</animation>
                <animation effect="slide" start="0,0" end="0,-25" time="600" delay="1000" tween="cubic" easing="inout" condition="Control.HasFocus(160)">Conditional</animation>
                <control type="image">
                    <description>Cover image</description>
                    <posx>390</posx>
                    <posy>32</posy>
                    <width>500</width>
                    <height>640</height>
                    <aspectratio>keep</aspectratio>
                    <texture background="true">$INFO[Container(50).ListItem.Icon]</texture>
                    <visible>Skin.HasSetting(artistzoom)</visible>
                </control>
                <control type="image">
                    <description>Cover image</description>
                    <posx>-1240</posx>
                    <posy>47</posy>
                    <width>1200</width>
                    <height>640</height>
                    <texture background="true">$VAR[value_poster]</texture>
                    <aspectratio>keep</aspectratio>
                    <fadetime>FanartCrossFadeTime</fadetime>
                    <animation effect="slide" start="0,0" end="1280,0" time="400" tween="cubic" easing="inout" condition="Control.HasFocus(160)">Conditional</animation>
                    <animation effect="slide" start="0,0" end="0,-25" time="600" delay="1000" tween="cubic" easing="inout" condition="Control.HasFocus(160)">Conditional</animation>
                    <visible>Skin.HasSetting(coverzoom)</visible>
                </control>
                <control type="image">
                    <posx>360</posx>
                    <posy>0</posy>
                    <width>560</width>
                    <height>700</height>
                    <align>center</align>
                    <texture>artist_border.png</texture>
                    <visible>Skin.HasSetting(artistzoom)</visible>
                </control>
            </control>
            <control type="group">
                <visible>Control.HasFocus(160)</visible>
                <animation effect="slide" start="0,0" end="0,-80" time="600" delay="1000" tween="cubic" easing="inout" condition="Control.HasFocus(160)">Conditional</animation>
                <control type="image">
                    <posx>0</posx>
                    <posy>760</posy>
                    <height>40</height>
                    <width>1280</width>
                    <texture>darkgrey.png</texture>
                    <colordiffuse>$VAR[value_texturecolor]</colordiffuse>
                    <include>Animation_DefaultGlass2</include>
                </control>
                <control type="label">
                    <posx>0</posx>
                    <posy>760</posy>
                    <height>40</height>
                    <width>1280</width>
                    <align>center</align>
                    <aligny>center</aligny>
                    <label>$VAR[value_videoinfo_zoomlabel]</label>
                    <font>Font_23</font>
                    <textcolor>FFFFFAF0</textcolor>
                    <scroll>true</scroll>
                    <scrollout>false</scrollout>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>760</posy>
                    <height>40</height>
                    <width>1280</width>
                    <texture>gradient_small.png</texture>
                </control>
            </control>
            <include>BGBlack</include>
        </control>
    </controls>
</window>
Reply
#2
Dialoginfo.xml ? no such a file.

Any way,
Code:
<onclick>Close</onclick>
<onclick>ActivateWindow(home)</onclick>
Enjoy.
Phenomenal™ Skin • ForumWebsiteGitHub
Reply
#3
(2015-08-19, 15:35)tomer953 Wrote: Dialoginfo.xml ? no such a file.

Any way,
Code:
<onclick>Close</onclick>
<onclick>ActivateWindow(home)</onclick>
Enjoy.

Cheers It works Big Grin
I meant Dialogvideoinfo.xml
Why didn't i need this in MyVideoNav.xml though? Made the same button there and it worked..
Reply
#4
dialogs need to be closed before you can activate another window.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
(2015-08-19, 18:24)ronie Wrote: dialogs need to be closed before you can activate another window.

Got it ronie i'll keep that in mind Big Grin
Reply

Logout Mark Read Team Forum Stats Members Help
Custom Activate Window Button doesn't work in Dialoginfo.xml0