Archive for April, 2008

Apr 01 2008

Combobox bug

Published by turlach under Visual Studio, dotNet, winforms

If you assign the same arraylist as a datasource for comboboxes on the same form they will appear to be linked together.

cbobox.datasource = al

I did not try to duplicate this effect but the solution I used was to iterate through the members of the arraylist and individually add items to the combobox.

For i = 0 to al.count-1

cbobox.list.add(al(i))

next

No responses yet