Multiple-selection combobox

I need something similar to a JList to use as a control in my Servoy form. Basically, it would be a ComboBox that allows multiple selections with Command- or Control-click, and displays multiple rows on the screen at one time. Thus, the user would be able to select one, many, or all of the items in the list. I thought this was a standard control, but evidently it is not.

I tried using the JList bean, but I can’t figure it out and really don’t want to deal with it. Is there an easier way, or can someone point me to where I’d get documentation on using the bean? I really have no clue where to start.

Also, is there a directory out there of all plugins available for Servoy?

You could emulate a JList by using a form in listview inside a hidden tabpanel, with a BackGroundColorCalculation that looks if the ID passed to this calculation is in an array of ID’s.

You create a method for onRecordSelect, that inserts the ID of the record into the Array, if not allready in there. If allready in there, you remove the entry from the array.

Then, if you need to know which records are selected, you check the array for which ID’s are in the Array.

I did this once, a long time ago, got it to work, but don’t have the example anymore.

Good luck,

Paul