Page 1 of 1
Multiple Selection in ComboBox
Posted: Wed Nov 06, 2019 10:05 am
by Anonymous
Is it possible to make multiple selections in a combobox somehow? I know a Listbox will do it, but it takes up a fixed area of the screen. I want it to "fold away" when not in use like a combobox does....
Multiple Selection in ComboBox
Posted: Wed Nov 06, 2019 4:15 pm
by Jamal
You will have to write own custom control; bBrowser or ListView or DataListView will probably do the trick!
Here is an ideas for you to explore:
Create a SingleLineEdit and push button to right.
On button click, display bBrowser or Listview with yours list items. Populate SLE with items selected separated by a a comma or whatever delimiter. Handle push button folding and population of list accordingly!
Multiple Selection in ComboBox
Posted: Thu Nov 07, 2019 12:24 am
by BiggyRat
Cool. Thanks Jamal, I feared that would be the case. I'll give it a go. Thanks mate.