It is being called from a template file for skinshortcuts, which I don't believe should have anything to do with the issue.
The includes file gets built with the following code:
Code:
<control id="9003" type="group">
<visible>StringCompare(Container(9000).ListItem.Property(submenuVisibility),weather)</visible>
<onup>20</onup>
<ondown condition="System.HasAddon(script.globalsearch)">608</ondown>
<ondown condition="!System.HasAddon(script.globalsearch)">603</ondown>
<visible>!Window.IsVisible(Favourites)</visible>
<animation delay="1000" effect="fade" time="300">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
<include>VisibleFadeEffect</include>
<control type="group">
<left>0</left>
<top>12%</top>
<include content="WeatherWidget">
<param name="list_id" value="80111" />
</include>
<include content="WidgetArrows">
<param name="list_id" value="80111" />
</include>
</control>
</control>
The WeatherWidget has the list I am trying to track:
Code:
<include name="WeatherWidget">
<!--title label-->
<control type="label">
<centerleft>50%</centerleft>
<top>0</top>
<height>30</height>
<width>810</width>
<label>$INFO[Container(9000).ListItem.Property(widgetName)]</label>
<align>center</align>
<aligny>center</aligny>
<font>breadcrumb.secondary</font>
<textcolor>white</textcolor>
<shadowcolor>button.nf</shadowcolor>
</control>
<!--content list-->
<control type="list" id="$PARAM[list_id]">
...
The WidgetArrows has the visibility condition:
Code:
<include name="WidgetArrows">
<param name="list_id" default="8011" />
<definition>
<!--arrows-->
<control type="group">
<!--left arrow bg-->
<control type="button" id="80001">
<left>380</left>
<top>155</top>
<width>50</width>
<height>50</height>
<texturefocus colordiffuse="$VAR[Colour.500]">backgrounds/white.png</texturefocus>
<texturenofocus colordiffuse="tertiary">backgrounds/white.png</texturenofocus>
<onclick>Control.Move($PARAM[list_id],-1)</onclick>
<visible>Container($PARAM[list_id]).HasPrevious</visible>
<include>VisibleFadeEffect</include>
</control>
<!--left arrow-->
<control type="image">
<left>380</left>
<top>155</top>
<width>50</width>
<height>50</height>
<texture colordiffuse="text.primary">arrow-big-left.png</texture>
<visible>Control.IsVisible(80001) + !Control.HasFocus(80001)</visible>
</control>
<!--left arrow-->
<control type="image">
<left>380</left>
<top>155</top>
<width>50</width>
<height>50</height>
<texture colordiffuse="white">arrow-big-left.png</texture>
<visible>Control.IsVisible(80001) + Control.HasFocus(80001)</visible>
</control>
<!--right arrow bg-->
<control type="button" id="80002">
<description>right Arrow</description>
<left>1490</left>
<top>155</top>
<width>50</width>
<height>50</height>
<texturefocus colordiffuse="$VAR[Colour.500]">backgrounds/white.png</texturefocus>
<texturenofocus colordiffuse="tertiary">backgrounds/white.png</texturenofocus>
<onclick>Control.Move($PARAM[list_id],1)</onclick>
<visible>Container($PARAM[list_id]).HasNext</visible>
<include>VisibleFadeEffect</include>
</control>
<!--right arrow-->
<control type="image">
<left>1490</left>
<top>155</top>
<width>50</width>
<height>50</height>
<texture colordiffuse="text.primary">arrow-big-right.png</texture>
<visible>Control.IsVisible(80002) + !Control.HasFocus(80002)</visible>
</control>
<!--right arrow-->
<control type="image">
<left>1490</left>
<top>155</top>
<width>50</width>
<height>50</height>
<texture colordiffuse="white">arrow-big-right.png</texture>
<visible>Control.IsVisible(80002) + Control.HasFocus(80002)</visible>
</control>
</control>
</definition>
</include>
An odd thing is that I seem to be able to get back any InfoLabel from the same container, such as Container($PARAM[list_id]).NumItems.
@
smitchell6879 @
jurialmunkey
Thanks to both of you for taking the time to try and help.