Re: ppg list box sorting

Date : Tue, 23 Oct 2007 23:56:29 -0700
To : XSI(at)Softimage.COM
From : "Steven Caron" <carons(at)gmail.com>
Subject : Re: ppg list box sorting
thanks for you input Vince, but i already have 3 list boxes on this page doing various other things. i think the way i designed it is the most efficient for the users. except this doesn't work so i just added in some extra code to handle the picking differently. instead it is now 4 combo boxes that contain all the possible values. since the purpose of that list box was to pick four parameters in a specific order, i have just made the ordering part more obvious and slow with 4 combo boxes

going to log my request... and make a big fuss about it. cause it seems for them to design it with a sort behavior is extra work and to not expose an attribute ( siNoSortListSelection? ) to turn it off is a shame

steven

On 10/23/07, Vince Fortin <vfortin(at)gmail.com> wrote:
I recall I did an even smoother version of this once in Maya that consisted of two non-multi lists and as soon as the user clicked on an item, it'd teleport to the other list. That would require on_clicked events though, can't remember they work with list boxes in XSI.


On 10/23/07, Vince Fortin < vfortin(at)gmail.com> wrote:
Hey Steven,
I would be really surprised if that was possible.
Best way I found design-wise is 2 list boxes. One listing all your items and one empty.
A couple of buttons between them let the user add and remove items in the empty box and reorder them.

One example is in Internet Explorer. Go in Tools > Toolbars > Customize.
It might work or not depending on what you are doing but overall I found it's a good workflow in many situations.

My 2c!
Vincent


On 10/23/07, Steven Caron < carons(at)gmail.com> wrote:
this is the first time i have tried to use list boxes and i have run into a hitch when using a list box in "siUIMultiSelectionListBox" mode. XSI is sorting the selected items. i dont want it to sort them. i want them in the order the user selected them. my list box looks like this...

1 Say_X_Oo
2 Say_X_E
3 Say_X_A
4 Say_X_Mm

if i select item 1, 3, 4, then 2 the string parameter that is tied to this list box looks like this...

paramMLBX = 1;2;3;4

i would prefer it look like this...

paramMLBX = 1;3;4;2

is this possible?

small screen shot attached, no matter what order i select these items in, the MLBX param is sorted in indexed order

thanks
steven





Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.