Cant figure out how a scrollbar works
#1
Been trying all night to add a scrollbar to the movie section of Alaska

id for Poster view is 50

id for the scrollbar is 60, though I've changed that to other numbers to see if that was my problem

I copied the hidden scrollbar from Aeon, which looks he used from the wiki, put the block of code in many different spots but no luck

This is the code:
Quote:<control type="scrollbar" id="60">
<description>My first scroll bar control</description>
<posx>305</posx>
<posy>663</posy>
<width>670</width>
<height>41</height>
<visible allowhiddenfocus="true">Control.IsVisible(50) + Control.HasFocus(60)</visible>
<texturesliderbackground>windows/scrollbarbackshowcase.png</texturesliderbackground>
<texturesliderbar>-</texturesliderbar>
<texturesliderbarfocus>-</texturesliderbarfocus>
<textureslidernib>windows/scrollbarnub-nofocus.png</textureslidernib>
<textureslidernibfocus>windows/scrollbarnub-focus.png</textureslidernibfocus>
<pulseonselect></pulseonselect>
<orientation>horizontal</orientation>
<showonepage>false</showonepage>
<onup>50</onup>
<ondown>50</ondown>
<onleft>60</onleft>
<onright>60</onright>

</control>

The scrollbar shows up and I can move it but it's not controlling the movies, thx to any replies....


**EDIT**

He did have these animations:
<include>Animation_HideShowcase</include>
<include>Animation_CommonFade</include>

I didn't think they were what controls the movies, so I just took them out?
Reply
#2
Add <pagecontrol>60</pagecontrol> to the view you wish to control with this.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
awesome, thx
Reply

Logout Mark Read Team Forum Stats Members Help
Cant figure out how a scrollbar works0