ListBox with Multiple Selections?

BlitzMax Forums/BlitzMax Beginners Area/ListBox with Multiple Selections?

Gabriel(Posted 2006) [#1]
Is it possible? I wrote a function which cycles through the listbox items and selects each one ( for a "Select All" button ) but only the last one is show selected.


Gabriel(Posted 2006) [#2]
So I guess it's not possible?


Grisu(Posted 2006) [#3]
Don't think so. Same goes for multiple columns in listboxes.


Gabriel(Posted 2006) [#4]
It seems that way. But oddly, in the docs I found this :

Function SelectedGadgetItems[](gadget:TGadget)
Description Get selected items in a list based gadget.


So I'm wondering why there's a function specifically to return an array of selected items in a list-based gadget when list based gadgets can only have one selected item :/


GfK(Posted 2006) [#5]
I don't have MaxGUI so I can't check it out, but I remember when using Listboxes in VB, there was an enable multi-select flag in the Listbox props. Is there something similar in MaxGUI?


skidracer(Posted 2006) [#6]
Will be added in MaxGUI 1.1.


Grisu(Posted 2006) [#7]
Multiple selection AND multiple columns? :)


FBEpyon(Posted 2006) [#8]
This is for using with toolbar gadgets, but I can't seem to get it to work :(