ListBox with Multiple Selections?

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

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.

So I guess it's not possible?

Don't think so. Same goes for multiple columns in listboxes.

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 :/

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?

Will be added in MaxGUI 1.1.

Multiple selection AND multiple columns? :)

This is for using with toolbar gadgets, but I can't seem to get it to work :(