2008-02-27, 04:33
Hello,
I am trying to get the behavior of the old button scrollers using the list container with static content. Are there any examples of this? From the manual I came up with the following code that does not work. It displays nothing.
Thanks,
JB
I am trying to get the behavior of the old button scrollers using the list container with static content. Are there any examples of this? From the manual I came up with the following code that does not work. It displays nothing.
Code:
<control type="list" id="9000">
<viewtype label="menu">list</viewtype>
<posx>700</posx>
<posy>160</posy>
<orientation>vertical</orientation>
<scrolltime>200</scrolltime>
<content>
<item id="1">
<label>movies</label>
<onclick>ActivateWindow(MyVideos,Movies)</onclick>
</item>
<item id="2">
<label>tv</label>
<onclick>ActivateWindow(MyVideos,TV)</onclick>
</item>
<item id="3">
<label>games</label>
<onclick>ActivateWindow(MyPrograms,Games)</onclick>
</item>
</content>
<itemlayout height="50">
<control type="label">
<label>$INFO[ListItem.Label]</label>
<textcolor>mint-dark</textcolor>
</control>
</itemlayout>
<focusedlayout height="50">
<control type="label">
<label>$INFO[ListItem.Label]</label>
<textcolor>mint</textcolor>
</control>
</focusedlayout>
</control>
Thanks,
JB