How can I stop listbox default selection

  • Thread starter Thread starter Gordon Bownes
  • Start date Start date
G

Gordon Bownes

When I bind a collection to a listbox with MultiSimple selection enabled,
the first list item is automatically selected. How can I prevent this
default action.
 
* "Gordon Bownes said:
When I bind a collection to a listbox with MultiSimple selection enabled,
the first list item is automatically selected. How can I prevent this
default action.

Set its 'SelectedIndex' property to -1 /twice/.
 
Back
Top