2009-09-28, 00:10
I'm having a bit of trouble finding any documentation on container sort methods. I've figured out Container.NextSortMethod, Container.PreviousSortMethod, and Container.SortDirection. But i can't figure out how to pull out a related info label so I can simply write something like a button who's label changes to reflect the currently chosen sorting method.
Code:
<control type="button">
<onclick>Container.NextSortMethod</onclick>
<description>Sort Order</description>
<label>$INFO[sortOrder]</label>
<texturenofocus></texturenofocus>
<texturefocus></texturefocus>
</control>