Listbox with multiple selections

BlitzPlus Forums/BlitzPlus Programming/Listbox with multiple selections

jondecker76(Posted 2003) [#1]
Is it possible to have a listbox with multiple selections? And if so, how would I go about seeing which items were all selected?

thanks


Pudsy(Posted 2003) [#2]
Same request here....
...any solution yet?

ta!


CS_TBL(Posted 2003) [#3]
nope, not in the current built-in B+ command set!

solution: make your own listbox!


Pudsy(Posted 2003) [#4]
The simplest solution I've come up with so far (to avoid developing my own listbox) is to use 2 of the built-in listboxes.

One lists all items NOT currently selected, the other lists all items that ARE selected. With a couple of buttons (Add/Remove) to move the single selected item from one list to the other, this should provide the same functionality as a multi-select list (but using around twice as much real estate!)

This is a fairly common layout in GUI apps, so should be familiar enough to users too.