Bug on Listbox!

0
0

 

 

Hi, If I select an item…. all good.

For each n in …selecteditems.

Debug.Writeline(n.selected)…

next

If I deselect the item.. this still “selected=true”

always this item will be “selected=true”

 

Bug!.

 

Thanks

  • You must to post comments
0
0

Just tried the same with a ListView in case that what you are using and it also still works.

  • You must to post comments
0
0

Hi Mark,

ListBox items don’t have a Selected property, they are just objects. I tried to iterate the listbox.SelectedItems collection and it is always correct. Can you send a test case?

Best,

Luca

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.