Listview SelectedIndexChange

  • Thread starter Thread starter Jared
  • Start date Start date
J

Jared

How would you prevent duplicate firing when changing from 3 selected items
to 1?

I am going to try use another event...
 
How would you prevent duplicate firing when changing from 3 selected items
to 1?

I am going to try use another event...

You have to do it manualy by setting BindingContext property of the control
before you set any dataBindings.

It is a BUG, listed in Knowledge Base. I lost whole day to figure it out.

eg.

Dim bContext as New BindingContext
MyComboBoxControl.BindingContext = bc
....
now you can set any DataBindings

same for the listbox control

Cheers!
 
Got the effect I wanted by dimming a varible and storing last
selected(0).index and comparing against new selection.
 
I have a listView and when I am tying to do something with the SelectedIndexChanged event I can not access the .SelectIndexCollection property.
Am I missing something??
 
What code are you using?
What errors are you getting?

The property is called SelectedIndicies btw (not SelectIndexCollection).

/claes
 
Back
Top