2011-02-19, 18:05
Hi,
i have defined this
in MyMusicNav.xml in a list and this
in an extra view.xml, but i couldn't manage the button to work.
what am i missing? why isn't it working?
have also tried to use "Grid" and "panel" in Containe.SetViewMode() but that also doesn't work...
thanks for your help
i have defined this
Code:
<control type="button" id="21">
<include>WindowMenuButton</include>
<label>Albums</label>
<onclick>Container.SetViewMode(icon)</onclick>
<onclick>ReplaceWindow(MusicLibrary,Albums,)</onclick>
</control>
in MyMusicNav.xml in a list and this
Code:
<includes>
<include name="Viewtype_Music_Grid">
<control type="panel" id="53">
...
<viewtype label="Grid">icon</viewtype>
<visible>!Container.Content(artists) | Container.Content(albums) | !Container.Content(genres)</visible>
...
</include>
</includes>
what am i missing? why isn't it working?
have also tried to use "Grid" and "panel" in Containe.SetViewMode() but that also doesn't work...
thanks for your help