Multiple Selection in ComboBox

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
Post Reply
Anonymous

Multiple Selection in ComboBox

Post 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....
Jamal
Posts: 320
Joined: Mon Jul 03, 2017 7:02 pm

Multiple Selection in ComboBox

Post 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!
BiggyRat

Multiple Selection in ComboBox

Post by BiggyRat »

Cool. Thanks Jamal, I feared that would be the case. I'll give it a go. Thanks mate.
Post Reply