Multiselect listbox options in VB6 and VBA
Posted on 2007-03-19
In converting a project from VBA to VB6, I've encountered a problem.
In VBA, the options for my listbox are:
This gives a listbox with radio button type controls, ie each line in the list can only be selected once (as opposed to the version with tick boxes where you can select many times)
In VB6 the options for my listbox are:
This has the same features, ie you can only select one item at a time, but there are no radio buttons - so it looks a bit strange. Alternatively, if you set style to 1, you get checkboxes which doesn't make sense with an individual item select.
Is there any way to get VB6 to do the radio buttons for individual item select the way that VBA does?
Thanks in advance,