D
db_from_mn
I have a combo box in which I've set the DataSource to an
instance of an ArrayList. The contents of the ArrayList
is managed in a timer control's timer_elapsed event
handler. The number of items in the ArrayList may
increase or decrease. When the contents of the ArrayList
changes, I try to update the choices in the combo box. I
can get the list to display correctly when items are
initially added to the ArrayList, but after that, I can't
change the list. I've tried a variety of things,
including the combo box's Update() and Refresh() methods.
Nothing I've tried works.
Can someone help me out?
Thanks in advance,
db_from _mn
instance of an ArrayList. The contents of the ArrayList
is managed in a timer control's timer_elapsed event
handler. The number of items in the ArrayList may
increase or decrease. When the contents of the ArrayList
changes, I try to update the choices in the combo box. I
can get the list to display correctly when items are
initially added to the ArrayList, but after that, I can't
change the list. I've tried a variety of things,
including the combo box's Update() and Refresh() methods.
Nothing I've tried works.
Can someone help me out?
Thanks in advance,
db_from _mn