Help autoscrolling a grouplist
#1
Hi, I have a grouplist set up to display academy awards info. Here's what is happening for movies with 6+ oscar wins....

Image

I've read the wiki about grouplists and wraplists but buggered if i can get autoscrolling to work. Here's how I've set up my grouplist. I've only included a couple of the labels, there's about 15 in total (one for each of the oscar categories I've included). As you'll see I've hijacked the mpaa field in the library database to achieve this.

Code:
<control type="grouplist">
<visible>Container.Content(movies)</visible>
<top>-35</top>
<left>900</left>
<width>350</width>
<height>180</height>
<orientation>vertical</orientation>
<align>center</align>
<itemgap>8</itemgap>
<usecontrolcoords>true</usecontrolcoords>
<visible>true</visible>
<scrolltime tween="sine" easing="out">200</scrolltime>
<autoscroll>true</autoscroll>

<control type="label">
<visible>SubString(ListItem.mpaa, w1)</visible>
<width>200</width>
<height>20</height>
<label>Best Picture</label>
<textcolor>Dark1</textcolor>
<font>SmallBold</font>
<animation effect="slide" time="500" start="2000,0" end="0,0" tween="cubic">Visible</animation>
<animation effect="slide" time="500" end="2000,0" tween="cubic" easing="in">Hidden</animation>
</control>

<control type="label">
<visible>SubString(ListItem.mpaa, w2)</visible>
<width>200</width>
<height>20</height>
<label>Best Director</label>
<textcolor>Dark1</textcolor>
<font>SmallBold</font>
<animation effect="slide" time="500" start="2000,0" end="0,0" tween="cubic">Visible</animation>
<animation effect="slide" time="500" end="2000,0" tween="cubic" easing="in">Hidden</animation>
</control>

and so on....

Any suggestions as to what I'm doing wrong?

Thanks
Reply
#2
Autoscroll is only supported on containers and not grouplists.
Reply
#3
Ah, ok. So a container list is the way to go? The thing I like about the grouplist is that it can auto center the labels based on the number of hits, in this case, the number of oscar wins. Can a list container do this?
Reply
#4
Yes you can still center a label in a container it works very similar to a grouplist. A list is the way to go.
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply

Logout Mark Read Team Forum Stats Members Help
Help autoscrolling a grouplist0