Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.34
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download



Purpose

Returns the index (i.e. number of item in a list) of the currently selected item for skin creators to use if they wish. Note that if the selected item is "..", then an empty string is returned.

Description of change

For example you can add #selectedindex to #itemcount:

<label>#selectedindex of #itemcount</label>

Which results in: 5 of 525 objects when you are viewing the 5th item in a list of 525 items.

This patch is intended to be used with the textcontent3 patch (approved for 1.2.0) to generate numbered lists.

See Forum Thread Add GUI Property #selectedindex for further info and examples

   

 

This page has no comments.