Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79077 --- shadow/79077 2006-08-15 08:37:14.000000000 -0400 +++ shadow/79077.tmp.29633 2006-08-15 08:37:14.000000000 -0400 @@ -0,0 +1,29 @@ +Bug#: 79077 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: ListBox: Setting SelectedItem to null doesn't match MS behaviour + +Setting ListBox.SelectedItem to null should unselect currently selected +items and also should set SelectedIndex to -1. + +Steps to reproduce the problem: +1. Compile the sample. +2. Select any of the items in the list box and then press the "Set +SelectedItem" button. + +Pressing the button should unselect the currently selected item (additional +info is printed to the console, about both SelectedItem and SelectedIndex; +those ones should have values of "null" and -1, respectively). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
